Change python source while running
<p>Is it possible to change python source file while running an application and have this changes reflected immediately in the application?</p>

<p>Let say I have a foo.py file with a class Foo. In other module I'm calling functions on the Foo on user action. Now, I would like to change source of the Foo without restarting the application and on next user input see the results of the new code.</p>

<p>Would that be possible?</p>
