On Aug 12, 9:49 am, Alexandru Mosoi <[EMAIL PROTECTED]> wrote: > I'm using python's interpreter's to run various commands (like a > normal shell). However if sources are modified changes are not > reflected so I have to restart interpreter. Is there any way to avoid > restarting this? > > example: > > import blah > > blah.Blah() > # ... blah.Blah() changed > > blah.Blah() > # ... new behavior
blah = reload(blah) Sebastian -- http://mail.python.org/mailman/listinfo/python-list