Python Learning Python development Environment building

Source: Internet
Author: User

    • About Python

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.