Comparing PythonWin and IDLE?

Michael Scharf Michael.Scharf at gmx.de
Thu Apr 13 20:46:06 EDT 2000


David Smith wrote:
> 
> Warren Postma wrote:
> 
> >  I find once a module has
> > been imported once, it often will not import again, even if I have changed
> > the source (.py) file, the .pyc file does not appear to be regenerated, and
> > any errors in the .py file can only be fixed by editing and saving the .py
> > file, quitting the IDE and restarting. This appears to happen for both IDLE
> > and Python. Anybody else seen this?
> 
> When you edit a file under Idle, Save it and then hit Control-F5.  Then
> you can re-import the file.

But a re-import should also change existing instances of 
functions, classes and methods defined in the module. OK, 
there are some cases, where a new version is incompatible 
with the old data members, but sometimes it would be 
helpful....


Michael
-- 
     ''''\     Michael Scharf
    ` c-@@     TakeFive Software GmbH, a Wind River Company
    `    >     http://www.WindRiver.com
     \_ V      mailto:Michael.Scharf at gmx.de



More information about the Python-list mailing list