20 Dec
2003
20 Dec
'03
6:36 p.m.
Michael Hartl said:
On the other hand, when a module is included in another program, any changes to the module are automatically reflected in the program when it is run at the Linux command line. (Essentially the same thing happens under Windows when a Python file is run as a script by double-clicking on it.)
This is irrelevant to how a long-running program works. If you reloaded Zope every time you executed a request, you'd see the same behavior... eventually. :-) For non-trivial software, Python's "ordinary" behavior is the opposite of what you described. FWIW, Dylan