On Jun 28, 11:26 am, "Martin P. Hellwig" <martin.hell...@dcuktec.org> wrote: > On 06/28/10 11:18, dirknbr wrote: > > > I want to compile as an exe using py2exe but the function should take > > arguments. How would I do this? Currently my exe runs (no errors) but > > nothing happens. > > I am not sure if I understand your question correctly, have you used a > module like optparse and it doesn't do anything? It works for me the > last time I used it. > > -- > mph
Aha that might be it, I had a look at http://docs.python.org/library/optparse.html How do you integrate (options, args) = parser.parse_args() with our function? -- http://mail.python.org/mailman/listinfo/python-list