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

Popular posts from this blog

java - Cast from Object to List<String>: CastClassException -

How to set a border for android Imageview in Longpress? -

c# - Operator '==' incompatible with operand types 'Guid' and 'Guid' using DynamicExpression.ParseLambda<T, bool> -