I'm attempting to convert a .py file to a .exe file. However, I get a weird output.
Output:
usage: module1 [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: module1 --help [cmd1 cmd2 ...]
or: module1 --help-commands
or: module1 cmd --help
error: no commands supplied
My code:
from distutils.core import setup
import py2exe
setup(console=['newstyledemo.py'])
Also when this is done where do I recover the .exe file? I'd like to place it on a flash drive for redistribution.
I'm running Python 2.6 on Windows-7, BTW