Python is an object-oriented, interpreted computer programming language. Python syntax concise and clear, with rich and powerful class library and many other features, this is from the introduction of Baidu Encyclopedia, in the Baidu Encyclopedia can also see its more detailed introduction information, including the original design, code style, development history, basic grammar and related development of the IDE. Python used in foreign countries or more, and in the domestic it is also relatively more, Woodpecker community is the largest Python community in the country, where you can find everything about python, if you have any questions can also get a good answer. Its concise and clear grammar is the reason I like this language.
- Install the Configuration Python development environment
Python-related versions of the installation package can be downloaded on the official Python website (www.python.org), and Python-related modules are built into the Linux system (Ubuntu, CentOS, etc.). Configuring the Python development environment under Windows only needs to download the Python installation package, then follow the prompts to install it, and finally configure the Python environment variable. Python's installation package comes with a simple integrated development environment---IDLE, you can also use your favorite IDE, you can take a look at the detailed Python editor list and then make your choice, choose a suitable editor----it can make the Python program more interesting and convenient. I prefer Ulipad, using ulipad need to install Wxpython. Ubuntu uses Apt-get install python-wxgtk2.8.0 Other Linux can be installed using Yum install python-wxgtk2.8.0. Then use Python ulipad.py to start the editor.
- Getting Started: Hello world!
Open the IDE and enter the following:
Code: First Python program
1 Print " Hello world! "
Save the Python script file as a. py extension and run it python hello.py output Hello world! you have successfully written the first Python program. Hello world is almost the only way to learn any new language.
At this point, the Python development environment has been set up to begin the path of advanced learning.
Python Learning Python development Environment building