Learning Python from 0 --- 01, learning Python --- 01

Source: Internet
Author: User

Learning Python from 0 --- 01, learning Python --- 01

1. Start

Vim test. py

#! /Usr/bin/python

Print "hello, world! ";

Chmod + x test. py

./Test. py

2. Basic Knowledge

Python has five standard data types:

  • Numbers (number)
  • String (String)
  • List)
  • Tuple (tuples)
  • Dictionary)

Number: Python supports four different numeric types:

  • Int (signed integer)
  • Long (long integer [can also represent octal and hexadecimal])
  • Float (float type)
  • Complex (plural)

Which of the following systems is better for learning python,

You can use whatever system you have.
If you want to say which one is better, the Linux series is better. If you want to say the reason, you will also be useful after learning about the Linux system.

0 basics how to get started with python

Beginning. Python. From. Novice. to. Professional, 2nd. Edition_chs
 

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.