From May 19, 2015 registered Blog Park, determined to write a blog, the way to record their own programming points drip, because they are too lazy, has been dragged to the present, "procrastination" is the disease to change, today finally wrote their first blog, a little excited!
Python was invented by Guido van Rossum at the end of 1989, and during the Christmas of 1989, in Amsterdam, Guido was determined to develop a new scripting interpreter, as an inheritance of ABC language, in order to get rid of the boredom of Christmas. Python was chosen as the name of the program because he was a fan of the comedy community called Monty Python. Foreign people are wayward, to pass Christmas is to write code, move bricks! To get to the top, Python has two main ways of running, one interactive (using a prompt interpreter) and one using the source file:
Method One: Type python in the Windows command-line window (before you have to install Python and configure path) to run the effect:
Write down your first Python program, output Hello world!
Method Two: After installing Python, it will bring an idle editor, open the editor, create a new file, write the first Python program!
Save the file and place it under a path, open the Windows command line, and switch to the path where you saved the source file, and enter the Python file name. py
You can also run directly from the run module under the run of the idle editor!
Two ways to run Python