Using Cxfreeze to package Python3 programs under Windows

Source: Internet
Author: User

1: Download the appropriate version of Cxfreeze

Http://sourceforge.net/projects/cx-freeze/files/4.3.2/

2: Install, note that the Python version is correct

3: After the installation is complete, the file will be generated under the Python Scripts folder

Type Cxfreeze--help and Cxfreeze--version on the command line to display the prompt message is successful

4: Packaging Program

On the command line, type Cxfreeze inputoutput.py--target-dir III

where "inputoutput.py" is the source code file "III" is the destination folder (both can use absolute path)

If you want to generate only one EXE file, you can add the suffix--no-copy-deps

5: To be consulted, package multiple files (and import your own py file) and build the installation file

?

Using Cxfreeze to package Python3 programs under Windows

Related Article

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.