Original: http://www.jb51.net/softjc/142580.html
--------------------------------------------------------------------------------------------------------------- ------------------------------------------
Because of the popularity of Google, YouTube and other large companies, Python programming language is becoming more and more popular, and many programming enthusiasts will also do python for the first programming language.
Today we'll talk about the first step of learning, installing the Python Idle editor , and also debugging and using it.
First, let's go ahead and download a Python program installation package.
Open,www.python.org python's website, find the downloads area, click to find the appropriate version of the installation package for your system.
Here, the system of playing Snake Network Leo is window 7 64 bit, we choose (Windows amd64/intel 64/x86-64 binary) to download.
In the second step, locate the Python program installation package that you just downloaded, double-click Open, and run the Setup program.
Generally do not need to set too much, directly click the next step, until the installation is successful, click to finish it. If you want to switch to a friend of the installation directory, you can change the path of the installation in that step.
The third step, after the installation is complete, in our Start menu, find Python IDLE, double-click to run, you can in our IDLE, debugging our Python code.
Start menu, choose the Idle (Python GUI), which is also a python-written GUI program, and several other options are Python's module documentation and help.
Below we output a Python string statement, plus a value that calculates the addition of 2 variables, which is output on the screen.
These are the Windows platform under the Python idle installation and debugging process, usually Linux systems, such as: Ubuntu, CentOS have been installed by default with the System Python program, in the Linux class system, this idle is called the Python interpreter , it is started from the terminal emulator, enter "python" this command. All of Python programming starts with this idle editor, and after you get started, you can choose more of your favorite Python editors, such as: Wing IDE Professional python editor
Python IDLE Installation and use tutorial (debug, download)