Python Learning Notes (i) Hello world

Source: Internet
Author: User

Why Python

Why do you want to learn python?

1) Daniel is using

2) easy to learn, compared to C + +

3) Python's powerful features

Learning Resources

  I chose Google's Python Class QuickStart python (a two-day tutorial was recorded as a video, uploaded on YouTube). Books Use the Python Learning Handbook (4th edition) to consolidate knowledge and deepen understanding. There are a lot of simple tutorials on the web that can help, like Liaoche's Python tutorial.

Of course, the most important thing to learn a programming language is to knock on the code, I hope that I can stick to it, a lot of practice. It is worth mentioning that reading the Google Python style guide can be helpful in building good programming styles and habits.

Environment construction

  1. Install Python:

Linux:

The Linux distribution I'm using is cent OS 6.5, and Python is already installed. Use VI or gedit to edit code on Linux

$ Pythonpython2.6.6(r266:84292, Nov A  -, A: -: A) [GCC4.4.7 20120313(Red Hat4.4.7-4)] on Linux2type" Help","Copyright","credits"Or"License"  for  Moreinformation.>>>

Windows

Download Python2.7.9 version in https://www.python.org/downloads/

Key steps: Tick add Python.exe to Path, next.

2. IDE Selection

Choosing a suitable IDE is critical to improving your development efficiency, and I choose Pycharm. Of course, pre-basic learning can be done using a text editor (except for Windows Notepad).

Hello World

 

Print "Hello World"

      

  

 

Python Learning Notes (i) Hello world

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.