Installation and use of the programming language Python

Source: Internet
Author: User

I found that learning it to a certain extent to avoid the need to deal with the programming language, the University of C language learning because of the limited ability of teachers, so I have no interest in this, muddle through the past. But now I really feel a little regret. It's no use just to regret it. It's still a study. I've seen a lot of information about getting started with programming languages, and I feel python is better for me. And then you start learning.

Share the basics of python that you've learned: Install and use

This article is divided into three parts:

Download of 1,python

Installation of 2,python

3,idle Basic Use


python download (Linux users do not have to download the installation, when installing Linux has already installed Python, it installed)

Early URL field input:www.python.org

go to Python's website and enter downloads to find a Python version that fits your computer

For example, My Computer is Windows 7 64-bit, I choose windows x86-64 bit installer 650) this.width=650; "Src=" http://s3.51cto.com/wyfs02/M00/4B/ 72/wkiom1qs1suwx6w0aahcztcd7aq623.jpg "title=" Untitled. jpg "alt=" wkiom1qs1suwx6w0aahcztcd7aq623.jpg "/>

Recently there are two versions of Python 2.7 and 3.4 , I chose 2.7 because the old is relatively stable and suitable for learning . Double click to download


Installation of Python

Double-click the downloaded Python 2.7.8 installation package

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/4B/72/wKiom1Qs17SCn2mBAAEmLdYhGIA771.jpg "style=" float: none; "Title=" Untitled 1.jpg "alt=" Wkiom1qs17scn2mbaaemldyhgia771.jpg "/>

Default : Install for all users

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/4B/74/wKioL1Qs1-KSvaMkAAEn0d7rUDs829.jpg "style=" float: none; "Title=" Untitled 2.jpg "alt=" Wkiol1qs1-ksvamkaaen0d7ruds829.jpg "/>

This is the option to install the path . My choice is the default

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/4B/72/wKiom1Qs17SjRt1KAAH_B0Obptc677.jpg "style=" float: none; "Title=" Untitled 3.jpg "alt=" Wkiom1qs17sjrt1kaah_b0obptc677.jpg "/>

This interface is to choose which features python installs, I choose the default, if the Python is more familiar with the need to make relevant changes.

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/4B/74/wKioL1Qs1-OhXsiSAAC13mSHJrA739.jpg "style=" float: none; "Title=" Untitled 4.jpg "alt=" Wkiol1qs1-ohxsisaac13mshjra739.jpg "/>

This is the installation process

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/4B/72/wKiom1Qs17SB3jToAAFNQHFV5fQ093.jpg "style=" float: none; "Title=" Untitled 5.jpg "alt=" Wkiom1qs17sb3jtoaafnqhfv5fq093.jpg "/>

End of installation


Idle basic Use

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/4B/74/wKioL1Qs1-PTML9fAACkvVfzKHU008.jpg "style=" float: none; "Title=" Untitled 6.jpg "alt=" Wkiol1qs1-ptml9faackvvfzkhu008.jpg "/>

Click Idle (Python's graphical interface)

Let the interface show Hello World

>>> print ("Hello World") Hello World

Just started to learn, the back will be sharing the learning income

To be Continued ...


This article is from "Zhang Fan-it's fantasy drifting" blog, please be sure to keep this source http://chawan.blog.51cto.com/9179874/1560353

Installation and use of the programming language Python

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.