PythonPython3java
 

Python Environmental build

In this chapter we will show you how to build a Python development environment locally.

Python can be applied to multiple platforms including Linux and Mac OS X.

You can enter the "python" command in the terminal window to see if Python and Python installations are installed locally.

  • Unix (Solaris, Linux, FreeBSD, AIX, HP/UX, SunOS, IRIX, etc.)
  • Win 9x/NT/2000
  • Macintosh (Intel, PPC, 68K)
  • OS/2
  • DOS (multiple DOS versions)
  • PalmOS
  • Nokia mobile phone
  • Windows CE
  • Acorn/RISC OS
  • BeOS
  • Amiga
  • VMS/OpenVMS
  • QNX
  • VxWorks
  • Psion
  • Python can also be ported to Java and .NET virtual machines.

Python download

Python's latest source code, binary documentation, news, etc. can be viewed on Python's official website:

Python official website: https://www.python.org/

>

You can download Python documentation from the links below, and you can download documents in formats such as HTML, PDF, and PostScript.

Python documentation download address: https://www.python.org/doc/



Python installation

Python has been ported to many platforms (it has been modified to work on different platforms).

You need to download the binary code for your platform and install Python.

If your platform's binary code is not available, you will need to manually compile the source code using the C compiler.

Compiled source code, with more optional features, provides more flexibility for python installations.

The following are the download addresses for each platform installation package:

<

Here are the ways to install Python on different platforms:

Unix & Linux Platform Installation Python:

Here are the simple steps to install Python on Unix & Linux:

  • Open the web browser to access https://www.python.org/downloads /source/
  • Select a source tarball for Unix/Linux.
  • Download and unzip the archive.
  • If you need to customize some options to modify Modules/Setup
  • Execute ./configure script
  • make
  • make install

After doing this, Python will be installed in the /usr/local/bin directory, the Python library will be installed in /usr/local/lib/pythonXX, and XX will be the version number of Python you are using.

Window platform installation Python:

The following are simple steps to install Python on the Window platform:

  • Open a web browser to access https://www.python. Org/downloads/windows/

  • Select the Window Platform installation package in the download list. The package format is: python-XYZ.msi file, and XYZ is the version number you want to install.
  • To use the installer python-XYZ.msi, Windows systems must support Microsoft Installer 2.0 for use. Just save the installation file to your local computer and run it to see if your machine supports MSI. MSI is already available on Windows XP and later, and many older machines can also install MSI.

    elect according to your computer configuration. The above option is the windows="" 64="" installation package.

    according to your computer configuration, the above selection is >
  • After downloading, double-click the download package to enter the Python installation wizard. The installation is very simple. You only need to use the default settings and click "Next" until the installation is complete.






welookups is optimized for learning.© welookups 2018 -
All Right Reserved and you agree to have read and accepted our term and condition