I need to convert a Python script to a Windows executable.
I have Python 2.6 installed to python26
.
I have created one script and kept it in C:pythonscript
. Inside this folder there are two files
Setup.py
and oldlogs.py
(this file need coversion)
setup.py
code is
from distutils.core import setup
import py2exe
setup(console=['oldlogs.py'])
How can I convert oldlogs.py to an exe file?
Question&Answers:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…