if __name__=='__main__': main()

jaime suarez jaime.suarez at crossmatch.net
Fri Dec 20 10:01:10 EST 2002


I am trying to run a script from IDLE and 
I get an error message saying

    main()
         ^
SyntaxError: invalid syntax


main() is properly defined, the same script
runs under PythonWin.

How do you go about running a script from 
inside IDLE? 

Thank you in advance,
Jaime



More information about the Python-list mailing list