[Tutor] strange errors

ALAN GAULD alan.gauld at btinternet.com
Sun Feb 2 18:56:29 CET 2014


forwarding to list...
Please use reply-all when responding to the list.
 
Alan Gauld
Author of the Learn To Program website
http://www.alan-g.me.uk/

http://www.flickr.com/photos/alangauldphotos



>________________________________
> From: Gabriele Brambilla <gb.gabrielebrambilla at gmail.com>
>To: Alan Gauld <alan.gauld at btinternet.com> 
>Sent: Sunday, 2 February 2014, 17:31
>Subject: Re: [Tutor] strange errors
> 
>
>
>I use windows 7 command prompt. doing
>
>
>python <scriptname>.py
>
>
>the errors are various...when I will get them again I will write them!
>
>
>thanks
>
>
>Gabriele
>
>
>
>2014-02-02 Alan Gauld <alan.gauld at btinternet.com>:
>
>On 02/02/14 02:11, Gabriele Brambilla wrote:
>>
>>
>>sometimes when I try to run a program in Python I obtain some errors.
>>>
>>
How are you running the program?
>>
>>doubly clicking in a file manager/explorer?
>>Running from an OS command line?
>>Importing from the Python >>> prompt?
>>Or using some kind of IDE? (Which?)
>>
>>The answer to your question depends a lot on the way you
>>run the code.
>>
>>A sample error and your OS and Python version will help too.
>>
>>
>>
>>How could I avoid this problem? I think that it is because it "remember"
>>>some variables that I have used...
>>>
>>
Could be. If you import a module then change that module then
>>reimporting alone is not enough. But if you run the code from the OS that shouldn't be an issue. So how do you run the code?
>>
>>-- 
>>Alan G
>>Author of the Learn to Program web site
>>http://www.alan-g.me.uk/
>>http://www.flickr.com/photos/alangauldphotos
>>
>>_______________________________________________
>>Tutor maillist  -  Tutor at python.org
>>To unsubscribe or change subscription options:
>>https://mail.python.org/mailman/listinfo/tutor
>>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20140202/07764c2a/attachment.html>


More information about the Tutor mailing list