Your SlideShare is downloading. ×
0
A useful tools in windows py2exe(optional)
A useful tools in windows py2exe(optional)
A useful tools in windows py2exe(optional)
A useful tools in windows py2exe(optional)
A useful tools in windows py2exe(optional)
A useful tools in windows py2exe(optional)
A useful tools in windows py2exe(optional)
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

A useful tools in windows py2exe(optional)

291

Published on

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
291
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
5
Comments
0
Likes
1
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. PYTHON: SOME USEFUL TOOLS John Saturday, December 21, 2013
  • 2. PY2EXE: CREATE YOUR EXE FILE IN WINDOWS
  • 3. Install it from PYPI • Use pip or easy_install install the py2exe module
  • 4. Create your first program • Write python file hello.py #hello.py print “hello,world” • Write the setup.py under same dir
  • 5. • Run your setup script >>> Python setup.py py2exe • Run the hello.exe file under dist
  • 6. if you meet “error: MSVCP90.dll: No such file or directory” Change the setup file from distutils.core import setup import py2exe setup(windows=[‘hello.py'], options = { "py2exe": { "dll_excludes": ["MSVCP90.dll"] } }, )
  • 7. if you meet “error: MSVCP90.dll: No such file or directory” Change the setup file from distutils.core import setup import py2exe setup(windows=[‘hello.py'], options = { "py2exe": { "dll_excludes": ["MSVCP90.dll"] } }, )

×