天天看點

Python系列文章索引

>>> import this

  The Zen of Python, by Tim Peters

  Beautiful is better than ugly.

  Explicit is better than implicit.

  Simple is better than complex.

  Complex is better than complicated.

  Flat is better than nested.

  Sparse is better than dense.

  Readability counts.

  Special cases aren't special enough to break the rules.

  Although practicality beats purity.

  Errors should never pass silently.

  Unless explicitly silenced.

  In the face of ambiguity, refuse the temptation to guess.

  There should be one-- and preferably only one --obvious way to do it.

  Although that way may not be obvious at first unless you're Dutch.

  Now is better than never.

  Although never is often better than *right* now.

  If the implementation is hard to explain, it's a bad idea.

  If the implementation is easy to explain, it may be a good idea.

  Namespaces are one honking great idea -- let's do more of those!

Python基礎

1. Python資料結構和知識補充

  (1)Python字元串

  (2)Python清單

  (3)Python元組

  (4)Python字典

  (5)Python之xpath

  (6)淺析Python中bytes和str差別

  (7)python之懶惰屬性(延遲初始化)

2. Python面對對象

  (1)變量

  (2)python之内置函數

  (3)Python基本特殊方法之__new__

  (4)Python基本特殊方法之__format__

  (5)Python之屬性、特性和修飾符

  (6)Python之抽象基類

  (7)Python建立容器和集合之源碼分析

  (8)Python之namedtuple源碼分析

  (9)Python之contextlib庫及源碼分析

  (10)Python元程式設計

  (11)Python單例模式

  (12)Python面對對象相關知識總結

3. Python特殊函數

  (1)Python疊代器

  (2)Python生成器

  (3)Python裝飾器

4. Python标準庫

  (1)網絡爬蟲必備知識之正規表達式

  (2)Python标準庫之time和datetime

  (3)作業系統(sys/os)

  (4)Python之數學(math)和随機數(random)

  (5)Python之socket

  (6)Python之socketserver

    --Python--socketserve源碼分析(一)

    --Python--socketserve源碼分析(二)

  (7)Python之多線程(threading)

  (8)Python之functools庫

  (9)Python之collections子產品

  (10)Python之struct

  (11)Python之heapq子產品

  (12)Python之pickle

  (13)Python之numpy庫

  (14)Python之operator庫

  (15)python庫之selectors

  (16)python庫之_thread

  (17)python庫之threading

    (18)  python之random庫

    (19)  網絡爬蟲必備知識之urllib

    (20)  python之Beautiful Soup庫

    (21)  python之pandas資料篩選和csv操作

  (22)Python之matplotlib庫

  (23)網絡爬蟲必備知識之requests庫

         (24)  使用wsgiref庫diy簡單web架構

Python應用

(1)Python資料分析基礎

  1. Python之XML檔案

  2. Python之CSV檔案

  3. Python之Excel檔案

  4. Python之資料庫

    4.1 資料庫之MySql

    4.2 Python之sqlite3

    4.3 Python之MySQLdb

  5. Python之json檔案

  6. Python之圖與圖表

  7. Python之描述性統計與模組化

(2)Python網絡爬蟲

  1. 網絡爬蟲簡介

  2. Python之下載下傳緩存

  3. Python之并發下載下傳

  4. Python之動态内容爬取

  5. Python之表單互動

  6. Python之驗證碼處理

  7. Python之Scrapy

   (1)Scrapy庫安裝和項目建立

   (2)Scrapy庫常用指令

   (3)Scrapy架構及元件描述

      (4)Scrapy元件之item

(3)Python-Selenium自動化測試

  1. Python之WebDriver API

  2. Python之自動化測試模型

  3. Python之unittest

(4)Python-Django

  1. django初探-建立簡單的部落格系統(一)

  2. django初探-建立簡單的部落格系統(二)

  3. Django之ORM模型

  4. Django之模闆文法

  5. Django之模闆繼承

  6. Django之HttpRequest和HttpReponse

  7. Django之mysql表單操作