By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,760 Members | 1,130 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,760 IT Pros & Developers. It's quick & easy.

Python cgi server py2exe

P: 1
Hello,
I am trying to make a python cgi server.
It works fine when not compiled, but with the exe it won't run the cgi.
It says:
"command: [my py2exe script] -u [name of cgi script]"
It seams to be trying to run the script using the compiled exe.
I was thinking you could run the script using execFile if sys.argv is equal to 2.
Apr 18 '12 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.