[Tutor] defining / calling arguments on a compiled script?

Ryan Hussain ryanh.net at gmail.com
Sun Mar 13 18:16:14 CET 2011


I was wondering if there is a solution to add arguments to a compiled python
script, compiled with py2exe? For example I would like to do something such
as running my script named "demo.exe -a". With the -a argument I would like
to run a function. How can I define arguments in my script?


*Ryan Hussain*
ryanh at xvisionstudios.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20110313/8b3721ff/attachment.html>

More information about the Tutor mailing list