Basic Python Tutorials

Source: Internet
Author: User
Tags pickle package time and date

Transferred from: http://www.cnblogs.com/vamei/archive/2012/09/13/2682778.html

Python Quick Tutorials

Vamei Source: Http://www.cnblogs.com/vamei Welcome reprint, Please also keep this statement. Thank you!

How do you get to know Python quickly? It's a matter of conversation with friends.

Python contains a lot of content, plus a variety of standard libraries, expand the library, the flower is increasingly attractive eye. I have always wanted to write a quick, easy-to-follow Python tutorial, and the words are concise and gradual, so that no background readers can start learning from the basics. I will focus on a small concept in each article and hope to be able to read it quickly in my spare time.


Small reminders

    1. The tutorial will focus on the Python basics, the syntax based on Python 2.7 (I'll remind the Python 3.x that there's a change in the place to make it easier for readers to adapt to 3. X is the case). The test environment is Linux. Some packages of the standard library are not available for Windows platforms. If the program in the article doesn't work on your platform, you're welcome to discuss it.
    2. I'm going to focus on the backbone of Python so that the reader can develop a concept of python in the quickest possible time.
    3. The Linux command line starts with $, such as $ls, $python
    4. The python command line starts with >>>, such as >>>print ' Hello world! '
    5. The comment will be #开始


Suggestions

    • Tap the commands in the tutorial to see the effect in Python.
    • After you've seen the tutorials, you can do some exercises.
    • Participate in the discussion of the article comment area, can accumulate the experience better.

Python Basics

Python Basics Hello world!

Python basic 02 base data type

Python base 03 Sequence

Python basic 04 Operations

Python base 05 Indentation and selection

Python base 06 Loop

Python basic 07 functions

Basic Python Basics 08 Object-oriented concepts

Python basic 09 Object-oriented further development

Python Basics 10 Looking back

Python Advanced

Python Advanced 01 Dictionary

Python advanced 02 text file input and output

Python Advanced 03 Module

Parameter passing of the Python advanced 04 function

Python advanced 05 Loop design

Python advanced 06 Loop Object

Python Advanced 07 Function object

Python Advanced 08 Error handling

Python advanced 09 Dynamic type

python deep

Until now, Python learning has come to an end. In the following sections, I want to discuss Python's advanced syntax and the underlying implementation. This part of the content is not necessary to use Python. But if you want to do some large-scale python development (such as making Python tools, writing a framework, etc.), you will want to know something about this part of the story.

Python in depth 01 special methods and multi-paradigm

Python in-depth 02 context Manager

Python Deep properties for 03 objects

Python deep 04 Closures

Python depth 05 Adorner

python in-depth 06 memory management

python supplement

Python complements the 01 sequence method

Python Supplement Python Tips

Python supplemental python built-in function list

Python supplement Brief History of Python

Python supplement 05 string formatting (% operator)

Python complements Python's path

Python standard library

The importance of the Python standard library is:

    • The standard library is a part of Python.
    • The philosophy of Python is a problem with only one of the best solutions. These standard libraries provide a standard solution for many issues.

Python standard library--A quick walkthrough

Learning preparation for the Python standard library

Python standard library 01 regular expressions (re-packages)

Python standard library 02 time and date (times, datetime package)

Python standard library 03 paths and files (Os.path package, Glob package)

Python standard library 04 file management (partial OS package, Shutil package)

Python standard library 05 storage objects (Pickle package, Cpickle package)

Python Standard library 06 sub-process (subprocess package)

Python standard library 07 signal (signal package)

Python standard library 08 multi-Threading and Synchronization (threading package)

Python standard library 09 process information (partial OS package)

Python standard library 10 multi-process preliminary (multiprocessing package)

Python standard library 11 multi-process Exploration (multiprocessing package)

Python standard library 12 math and random numbers (Math package, random package)

Python standard library 13 circulator (Itertools)

Python standard library 14 database (SQLITE3)

The main difficulty of learning the Python standard library is that it requires a certain amount of basic knowledge in other areas. Refer to:

Linux Concepts and Systems

The following are network-related content in the Python standard library. Python has many applications in the web, whether as a server or as a crawler. Python's own syntax is simple, highly readable, and has powerful scripting capabilities. These allow Python developers to quickly develop excellent network products.

Python network 01 Raw python server

Python Network python server evolution

Python Web applications also require knowledge about network protocols. Refer to:

Protocol Forest

the liberated Jiang GE

Django is one of Python's most representative network frameworks. With Django, you can easily implement a full-featured, easy-to-manage website or app backend. From a practical point of view, here's how to use the Django framework.

Liberated Jiang Ge 01 to the horizon

The liberated Jiang Ge 02 Manor-House of doubts

Liberated Jiang ge 03 the so-called Iraqis

Liberated Jiang ge 04 picking

Liberated Jiang ge 05 black-and-black Butler

The liberated Jiang Ge 06 false for true time

The liberated Jiang GE 07 nonstop

Python Quick Tutorial Epilogue

References

Reference books and introduction
See Bean column: http://book.douban.com/doulist/1619790/

Basic Python Tutorials

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.