Python Packaging detailed procedures

Source: Internet
Author: User

A. Install the appropriate Python software, the use of the winpython-32bit-3.4.2.2, detailed installation steps have been described in the previous blog post;

B. A variety of packaging methods, in this selection of a relatively simple pyinstaller, for the Python3 3.3-3.4, after downloading, the attention must be consistent with the version of Python you installed, or packaging will have a lot of problems;

C. Install the Pywin32, the installation method is open cmd after the input as shown:


D. Put the. py file you want to pack in the extracted folder, here is the Pyinstaller-python3 folder, cmd to the folder, the specific operation


E. The path is automatically converted to the path you entered, enter the Python pyinstaller.py yourfile.py now, and then enter to complete the package:


F: At this point in the decompression folder will produce a folder with the same file name you have packaged, open to see the. exe program you want.




Python Packaging detailed procedures

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.