Python cgi server py2exe

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Alzei10
    New Member
    • Apr 2012
    • 1

    Python cgi server py2exe

    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.
Working...