20 Dec
2003
20 Dec
'03
11:46 a.m.
Michael Hartl wrote at 2003-12-17 10:29 -0800:
...
create a refreshing External Method that uses Python's "reload" to reload modules
This worked. It seems strange from a Python perspective, since there's no need to use "reload" inside ordinary programs; Python automatically re-imports any code that has changed.
In fact, Python does not care at all when you change a module after it has been imported. Especially, it does *not* reload modules in ordinary programs. When you see automatic reloading then this is a feature of something outside Python (e.g. Zope or the IDE). -- Dieter