Carlos Ors <cors at recercai.com> wrote: > How can I test a script without executing. (Only if structure belongs to the > python grammar)? try: compile(script_body, script_name, "exec") except SyntaxError: print "invalid syntax" </F>