Re: Line by line execution of python code

2006-07-13 Thread Stefan Behnel
Justin Powell wrote: > Hi, I'm looking for suggestions on how to accomplish something in python. If > this is the wrong list for such things, I appologize and please disregard the > rest. No, this is totally the right place. > My application needs to allow users to create scripts which will be

Re: Line by line execution of python code

2006-07-13 Thread mkPyVS
Try this... slightly more complex but get's the job done-> added some wait state in the user program/thread so it didn't kill the output stream... Enjoy import thread, sys, time def someUserProgram(mutexRef): while 1: mutexRef.acquire() print "I am a user p

Line by line execution of python code

2006-07-13 Thread Justin Powell
Hi, I'm looking for suggestions on how to accomplish something in python. If this is the wrong list for such things, I appologize and please disregard the rest. My application needs to allow users to create scripts which will be executed in a statement-by-statement fashion. Here's a little pseud