Is it possible to seperate Python's Syntax checker from the Interpreter?

Jason Keith Ergle ergle at cc.gatech.edu
Tue Dec 17 11:33:39 EST 2002


I am developing a simple Python IDE for one of our apps.  I need to allow the users a simple way of checking the correctness of the syntax of their Python code.  I wanted to use the Python interpreter, but I cannot allow the user to execute their code at this point.  Is their a way I can force the interpreter to just do its syntax check, and then exit without attempting to execute the code?  Any hel would be appreciated, thanks.

-- 
					
			-Jason Keith Ergle (ergle at cc.gatech.edu)



More information about the Python-list mailing list