Have a main function that you pass the arguments into. This entry on Guido's blog should help you out: http://www.artima.com/forums/flat.jsp?forum=106&thread=4829
-Chris On Mon, Oct 17, 2005 at 09:02:10PM -0400, Ross Reyes wrote: > Hi - > I wonder if someone might be able to lend a quick answer to this. > > I have a python script that I normally run from the command line on > Solaris. > i.e. %pythonscript <filein> > <fileout> > > I decided to try IDLE on Windows to do some debugging with the debugger > (which I > unfortunately dont' have on Solaris 5.7 ) > > So my question is: How do I pass the command line args when using the > Windows IDLE/Python > environment? > > Thanks for any tips. > > > > > -- > http://mail.python.org/mailman/listinfo/python-list -- http://mail.python.org/mailman/listinfo/python-list