python - py2exe exe crashes when os module starts -
py2exe crashes when start part of program, open folder program uses os.listdir(). works in python shell, fails when used in exe. don't errors, in exe, crashes. need add setup?
here setup:
from distutils.core import setup import py2exe setup(console=['drbosbeta0.35(unfinished).py'])
change file name:
setup(console=['drbosbeta0.35(unfinished).py'])
to this
setup(console=['drbosbeta0_35_unfinished.py'])
than try again.
Comments
Post a Comment