Remember that the first blog was written about Python, how to find the second article ran to the list. A bit of a strange feeling. Now learn python from the beginning.
Every programming start is a programming environment, sometimes the configuration of the environment will be programmed to shut the door, some programming environment configuration may be a bit complex, the configuration of Python environment is very simple.
First download the Python installation package file, link address: https://www.python.org/downloads/, and then unzip, install on it. If you want to set an environment variable, put the Python bin file directory in path.
Run the Python interpreter. You can use command line, or you can use the idle (Python GUI) to see your own version of Python. These are not much to say, of course, you can also use Eclipse+python plug-in to develop.
You can write the code in the Python interpreter, write the code first, and then invoke the Python interpreter to execute it. Of course, the saved. py file can be run directly. It's just that if you don't add an input to the code, the result will flash through.
The encoding of the source program, by default, is encoded in UTF-8.
#-*-Coding:encoding-*-
Specifies the encoding of the source program, which must be in the first row or the second line.
Python starts from the beginning