Alexandru  Mosoi 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?

Other gave you advice on how to - partially - achieve this.

Let me add that IMHO the better approach is to  create a small test-script
and let that run. If you want/must have a interactive prompt, 

python -i test.py

as well as 

import pdb; pdb.set_trace() 

at an interesting point in your script are your friends.

Diez
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to