Python 2.7 Tutorial

Source: Internet
Author: User

Python 2.7 Tutorial

This is the little white Python beginner tutorial.

Python is a computer programming language. You may have heard of a number of popular programming languages, such as the very difficult C language, the very popular Java language, the basic language for beginners, the JavaScript language for Web programming, and so on.

What kind of language is Python?

First, we popularize the basics of programming languages. In any programming language to develop the program, is to let the computer work, such as downloading a MP3, writing a document, and so on, and the computer working CPU only know the machine instructions, so, although the different programming languages are very big differences, and finally have to "translate" the CPU can execute machine instructions. and different programming languages, the same work, the amount of code written, the gap is also very large.

For example, to complete the same task, C language to write 1000 lines of code, Java only need to write 100 lines, and Python may be as long as 20 lines.

So Python is a fairly advanced language.

You may ask, is the code less good? The cost of the code is slow, the C program runs for 1 seconds, the Java program may take 2 seconds, and the Python program may take 10 seconds.

Is that the lower the more difficult the program, the more advanced the simpler the program? On the surface, yes, however, in very high abstract calculations, advanced Python programming is also very difficult to learn, so the Advanced programming language is not equal to simple.

However, the Python language is very easy to use for beginners and to accomplish common tasks. Even if Google is using Python on a massive scale, you won't have to worry about learning.

What can I do with python? Can do daily tasks, such as automatic backup of your MP3, can do website, many famous websites including YouTube is written by Python, can do online game backstage, many online game backstage are developed by Python. It's a lot of things to be able to do anyway.

Python, of course, does not have the ability to do things, such as writing the operating system, which can only be written in C language, mobile phone applications, only with Objective-c (for the iphone) and Java (for Android), write 3D games, preferably in C or C + +.

If you are a small white user, the following conditions are met:

    • will use a computer, but never write a program;
    • Also remember the mathematics of junior High school equations and a little bit of algebra knowledge;
    • Want to from the programming of small white into a professional software architect;
    • I can spare half an hour of study every day.

Don't hesitate, this tutorial is for you!

Transferred from: http://www.liaoxuefeng.com/wiki/001374738125095c955c1e6d8bb493182103fac9270762a000

Python 2.7 Tutorial

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.