The first Python program in Linux

Source: Internet
Author: User

Motivation for learning Python:

1: I have never been familiar with dynamic scripting languages. I can learn Python and understand interpreted languages.Program;

2: My favorite C ++ can be nested with python to make the program more compact, and the same functions can be used up with fewerCodeFinished;

3: By learning python, You can broaden your horizons and expand your thinking on solving problems. You cannot block yourself from a single language and learn to analyze problems from multiple perspectives.

4: python is powerful and can do almost anything (such as web development );

5: You can write one more skill on your resume.

Python is cross-platform and can be executed in multiple runtime environments. It is convenient in windows, but I decided to learn python in Linux to take into account Linux.

Of course, there are primary and secondary learning points. Python does not take too much time, but occasionally takes some time to understand and master the basics. Finally, it is used to develop a slightly larger web site. The website is simple, at the same time, general functions are available. If you have plenty of time (usually only have time after you find a job), you can use C ++ and python to create a game similar to angry birds. The cartoon pictures are interesting, the plot is simple and fun.

 

OK, let's start learning...

Generally, Linux is integrated with the python compiler. You can type python in bash and output the following content:

 

Note that the symbol ">" is followed by a program.

After a line of Python code, you do not need to add any extra points.

Let's talk about this blog, hey. Everything starts with hard. But I don't think it is. Smile...

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.