Wrote a python script in windows 8 and used py2exe to get a single exe, when moved to windows 7 it opens cmd then closes -
windows 8 running in 32-bit using vs-code write simple python script configure ip address through command line. able (after many attempts) create single exe , launch in windows 8. tried moving other laptop running windows 7 , show command line , close out. not sure i'm missing, both machines running similar software except windows 7 in 64-bit windows.
i'm not getting errors , py2exe ran without problems. can compile again on windows 7 box , try there able write on 1 machine both.
any appreciated.
i stumbled upon other day.
the executable created of time forward compatible: if create executable in windows xp, run in vista , 7. not backwards-compatible: if create executable in windows 7 not going run on windows xp.
from: http://www.pythoncentral.io/py2exe-python-to-exe-introduction/
Comments
Post a Comment