Reload modules?
Michael Hudson
mwh at python.net
Tue Jan 14 12:06:31 EST 2003
Afanasiy <abelikov72 at hotmail.com> writes:
> The main python script I execute from my python-embedded application
> imports some modules. In order for my application to recognize changes
> to those python scripted modules, I must restart it. However, changes to
> the main script itself are recognized without restarting my application.
I'm afraid the above doesn't make a whole lot of sense to me, but:
> Can I force a reload of modules while the application is running?
What does the reload builtin not do that you need?
Cheers,
M.
--
Just getting something to work usually means writing reams of code
fast, like a Stephen King novel, but making it maintainable and
high-quality code that really expresses the ideas well, is like
writing poetry. Art is taking away. -- Erik Naggum, comp.lang.lisp
More information about the Python-list
mailing list