Python Learning (i) installation, environment building, IDE

Source: Internet
Author: User

The first piece of crap too much, my blog The most important thing is to see for themselves, we feel that also can see, can say their ideas is better, because a person's thinking is limited. Brainstorm, your own cognition will not be imprisoned.

Note: Other systems do not install, under the Windows system to learn, so the following download, installation is under the Windows process.

What is Python? I feel that I do not have to write, want to learn friends, their own more Baidu, you can understand what it is, do not repeat. One sentence: Python is a high-level scripting language that combines explanatory, compiled, interactive, and object-oriented. Readability is strong.

  Through their own understanding of the order of execution of the Python program, Python is like Java, recalling the Java bar, did not learn Java, just look down.

  

Python download

Python's latest source code, binary documents, news, etc. can be found on the Python website:

Python official website: http://www.python.org/on this website, I'm in the latest version anyway.

You can download the Python document in the link, and you can download the documents in HTML, PDF and PostScript format.

Python document: www.python.org/doc/English is not good on the next, I did not.

Python installation

Download it, just go straight to the idiot-like installation. Remember where you put the Python installation, notepad++, this is the Python interpreter, and you're going to have to run the Python program on this. Python Interpreter-python interpreter.

Setting environment variables

  

Note the last step, in the "path" line, add the Python installation path (my F:\Python34), so later, add the path. Remember, the path is separated directly by a semicolon ";"! The F-drive must be separated from the previous one, and there are many variable values in the path, and if you do Android development, or Java development, you will add a semicolon after the addition.

Test it, win+r→cmd→ enter "Python"

  

This will mark your successful installation of Python.

  

Run Python

To put it bluntly is to run a Python program, for example: write a print Hello world, have output, have effect. Many tutorials include: 1, interactive interpreter 2, command line script, 3, integrated development environment (ide:integrated development environment)

The first two ways are interested in their own can go to check the data to try, here do not repeat, I just IDE, in fact, before the installation of Python, you can run it.

  

You can run Python in the first idle.

  

However, for a. NET development, with the habit of VS, such an editor is obviously not satisfied, think of powerful vs smart tips, no, not enough, (*^__^*) hehe ... For. Net,ide on one, vs,6666, fix, solve everything, but to Python, only to find that a programming language incredibly have so many Ides, really do not know which one to choose.

Http://www.runoob.com/python/python-ide.html look at this introduction to the IDE facing Python, Pycharm,sublinme Text 2,vim,eclipse with PyDev, Emacs,komodo edit,wing,pyscripter,the Eric python ide,interactive Editor for Python, it is said that the VS Mount Plugin also allows Python to run, But I chose Pycharm, for no other reason. Look at the pleasing ... A fool when the download installs it. Give me an address, http://www.jetbrains.com/pycharm/download/.

Beginners, there is an IDE himself with the right to use it, I think so, I am under the community version.

Python Learning (i) installation, environment building, IDE

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.