how do i edit a running python program?

Posted by Jeremiah Rose on Stack Overflow See other posts from Stack Overflow or by Jeremiah Rose
Published on 2010-05-24T01:07:28Z Indexed on 2010/05/24 1:10 UTC
Read the original article Hit count: 334

Filed under:
|
|

scenario: a modular app that loads .py modules on the fly as it works. programmer (me) wishes to edit the code of a module and and then re-load it into the program without halting execution.

can this be done?

i have tried running import a second time on an updated module.py, but the changes are not picked up

© Stack Overflow or respective owner

Related posts about python

Related posts about importing