Comparing PythonWin and IDLE?
Charlie Derr
charlie at intelligenesis.net
Fri Apr 14 12:10:16 EDT 2000
More information about the Python-list mailing list
Fri Apr 14 12:10:16 EDT 2000
- Previous message (by thread): Question about wave.py
- Next message (by thread): Comparing PythonWin and IDLE?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
instead of: import myModule try this: reload(myModule) and you should be able to get your recently modified changes to take effect without restarting python ~c Michael Scharf wrote: | |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 |-- |http://www.python.org/mailman/listinfo/python-list |
- Previous message (by thread): Question about wave.py
- Next message (by thread): Comparing PythonWin and IDLE?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list