How do programs written in Python run on other computers?

Source: Internet
Author: User
0 reply content: this is a "software release" issue.

First, we will discuss the simplest and most common cases:
================================

  • Windows Platform
  • Python 2.7.9 (latest version of Python 2)

Py2exe is the best choice.


1. Install py2exe


You can download it directly here.

Py2exe-Browse/py2exe/0.6.9 at SourceForge.net

Select the version corresponding to Python. For example, if Python is a 32-bit 2.7.9, download

Py2exe-0.6.9.win32-py2.7.exe

If your Python installation is 64-bit, download

Py2exe-0.6.9.win64-py2.7.amd64.exe


To check whether Python is 32-bit or 64-bit, run the following command at the command prompt:

Python-c "import sys; print '% x' % sys. maxint"

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.