Convert. py files to. exe

Source: Internet
Author: User
  1. Python is already installed on the machine, and the environment variables are well configured
  2. Write Good xx.py file
  3. Install Pywin32. It is important to note that Pywin32 has 32-bit and 64-bit points. You can enter Python at the command prompt to see the version of Python and whether it is 32-bit or 64-bit (my Python is 2.7.9 32-bit)
  4. To install Pyinstaller, simply extract Pyinstaller to any location and then go to Pyinstaller setup.py location at the command prompt, enter setup.py install Pyinstaller
  5. At the command prompt, go to the location where you have already written the xx.py file, enter the command: Pyinstaller-f xx.py
  6. After success, in the Dist folder there is exe executable file

Convert. py files to. exe

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.