Several online resources are recommended:
- Concise Python Tutorial
- learn programming with kids
- Head First Python Chinese
- The stupid way to learn Python
- Dive.Into.Python Chinese version (with course source code)
- Python core programming
- Deep understanding of Python
- Python Standard Library
- Python Programming Guide
- django_book Chinese version
( The decompression passwords are: http://crossin.me )
Online tutorial:
I mainly post some articles about programming introduction and popular science:
- How to use search engines for beginners
- How to install third-party modules for Python
- How to intuitively understand the running process of the program?
- Benefits to the Reaching Party: A Beginner's Guide for Python Novices
Python3 Manual https://www.tutorialspoint.com/python3/index.htm
Python is divided into Python 2.x and Python 3.x, and there is a lot of debate, see Python2orPython3 . Beginners don't need to think about this problem, they can start with Python 2.x, and then discuss more rationally.
-
Hong Qiangning: Application of Python in Web 2.0 Websites : Douban.com Hong Qiangning's technology sharing in QCon Beijing 2010, if you can't visit, please bring your own ladder; In addition, Douban's Abei is worthy of attention.
-
A Byte of Python : A concise Python tutorial, you will have a basic understanding of Python while watching and practicing, and you can easily survive.
-
Google's Python Lessons : Python tutorials produced by Google, trustworthy.
-
Python Documentation : Python online documentation, if it is boring, you can directly read Python Standard Lib .
-
Area 42: Python Getting Started Guide : Jianghu is known as Zhang Jiaozhu 's Python Getting Started Guide, except for "Python Core Programming" . Strictly speaking, this is a Python data index of Master Zhang.
-
CS61A: SICP with Python : As a computer-related person, I don’t know much about SICP , so I’m really ashamed, so I’m here to repay the debt. This should be the SICP tutorial originated from MIT , one in Python and one in Scheme.
-
I saw an interesting python recruitment test : a post posted by a classmate, summed up the problems encountered in the application, and gave corresponding materials to learn. If you want to test your Python level, please consciously move to the development test of Beijing Video World .
-
MOOCs: There are many open online courses, see the course map ; I only learned a little bit on Codecademy ; now I hope to follow up some interesting courses every day and learn more.
-
Books: In June last year, a colleague resigned. I bought two copies of Hackers and Painters , one for him ( to see the sea with a blog ), and the other for the boss of the department; he sent back a Python source code analysis , read the book The name knows that it is about the underlying principles, and there is a chance to chew on it.
-
Source code: Go directly to Github to find it.
- "python-guide" The guide written by the author of requests is biased towards engineering
- 《use python》 use python
- "A Byte of Python" is a small book with more than 100 pages, you can quickly familiarize yourself with the Python language.
- "Python Core Programming" is a more comprehensive Python book that introduces all aspects of the Python language.
- "Dive Into Python" a free open source book
- "Fluent Python" is a good book for advanced Python. There is no one. It covers many advanced topics and implementation features of Python.
- "Python3 Cookbook" Python advanced reading, a collection of many skills.
- "Advanced Python programming" python advanced programming ppt written by Douban engineer Mr. Dong Weiming
The company recruits engineers and the process of Python induction training.
The time is divided into 4 weeks, all self-study, only the outline is provided. For Web Orientation:
1. Week1: After reading "Concise Python Tutorial", adapt to the Python development environment
2. Week2: To write a crawler, you need to have an in-depth understanding of several modules such as re, urllib2, sqlite3, threading, and Queue. Need to use multi-threaded crawling, regular expression analysis, concurrent resource control, restart the program to automatically continue crawling and analysis
3. Week3: Learn a web development framework, recommend Flask, webpy, etc., learn a database interface such as sqlite3, and write a simple web application such as a blog
4. Week4: Make a small function for the product and go through the test and launch process, each period is different
python related library
web framework
If Flask does not have Rails, I think this is my preferred web development framework, the actual tutorial The Flask Mega-Tutorial .
Tornado : An asynchronous framework from FriendFeed , which was open sourced after FriendFeed was acquired by Facebook, see Tornado on Github . The main feature of Tornado is non-blocking , if you want to develop real-time web applications, Tornado is a good choice
Django is a full-stack framework. I heard that its components are all Made in Django. For more information see Django Documentation
- Vim + Python Mode . At present, this scheme is used, and it is very convenient to directly quote the renderings of the classmates . For Vim information and discussions, please go to Vim Data Encyclopedia ; for more plugins and demos of Vim, please go to k-vim on Github ; For Git, Github, please go to Free Blog with Github Pages on this site .
There are many web frameworks, see Web Frameworks for Python
- "Illustrated Http" is a good book for beginners to Http protocol, with a lot of picture examples.
- "Http Authoritative Guide" The most authoritative explanation of the Http protocol, a tome book, you can see the most basic parts.
- "Web Crawler Tutorial" is a very good crawler tutorial. Thanks to the original author, I actually feel that this way of summarizing the learning content into a small book is very good.
- "Python3 web crawler combat"
Linux system
- "Quick Tutorial for Linux Tools"
- "CONQUERING THE COMMAND LINE" can basically meet daily needs by mastering the above commands.
- "Brother Bird's Linux Private Kitchen. Basic Learning" is easy to understand, a good book for getting started with Linux commands
version control
Python and database
SQL, people with computer background should have learned it, if you have any questions, you can refer to Wikipedia SQL , and use SQLite to do the next exercise.
-
PEP249: DB API : Specification of database access interface, also made a note at the time .
-
SQLite : See SQLite Python Tutorial for tutorials ; for in-depth understanding, I recommend The Definitive Guide to SQLite ; when reading this book, I made some good sentences and paragraph summaries, see Sentences in SQLite 3 .
-
MySQL : See Python MySQL Database Access for a tutorial .
-
Oracle Database : It is possible that this is the largest database, so a full-time DBA is required. The official tutorial The Mastering Oracle+Python Series , the quick start tutorial cx_Oracle Quick Start .
-
SQLAlchemy : An ORM standard and framework for Python that addresses the schema mismatch between object-oriented programming and relational databases.
NoSQL
For a comparison of common NoSQL products, see Main NoSQL Database Comparison ; if you need some theoretical knowledge and basic concepts of NoSQL, see The NoSQL Ecosystem , Big Data and NoSQL
-
MongoDB: If you are familiar with SQL, the learning cost of MongDB will be very low; see Python Language Center in MongoDB for related information ; used two drivers: 1) PyMongo , which provides an interface similar to Mongo Shell; 2) MongoEngine : A Python Object- Document-Mapper for working with MongoDB, the 'ORM' framework of MongoDB, has now become 'ODM', MongoEngine on Github .
-
Redis: Redis requires some learning costs. The Little Redis Book is recommended for entry ; the used Python client drives Redis-py ; for more clients, see Redis Clients .
-
NoSQL modeling: SQL has been developed for decades and has very mature modeling techniques. What about NoSQL? See Chen Hao: NoSQL Data Modeling Techniques , the original NoSQL Data Modeling Techniques .
-
For more information: see NoSQL Database on the NoSQL English site ; see NoSQL Fan on the NoSQL Chinese forum : Follow NoSQl-related news and technologies . In NoSQL Fan, there are a lot of data on MongoDB and Redis, which have formed data topics, including introduction, internal implementation, application and optimization, news, etc., you can always find what you want: 1) NoSQL Fan: Redis data summary topic ; 2) NoSQL Fan: MongoDB Data Summary Topic