When I run the setup.py file I get "invalid Syntax" error.
The command I enter is:
C:/Documents and Settings/Main/My Documents/Programming Files/Python Files/setup.py py2exeThen if I run it in Command Prompt or the Python commmand line I get the syntax error saying that the : in C:/ is invalid syntax.
My setup.py file looks like:
from distutils.core import setup import py2exe setup(console=['calculator.py'])How do I fix this so I can turn my .py to a .exe?


Sign In
Create Account



Back to top









