必读的Python好文

来源:互联网 发布:广告法淘宝处罚案例 编辑:程序博客网 时间:2024/05/17 03:25

点头像看历史

文章都是英文的,学好Python要尝试读英文资料,都是熟练的过程(可以先收藏以后慢慢看)

  1. PEP8 Style Guide for Python Code (必须烂熟于心)

    https://www.python.org/dev/peps/pep-0008/

如果写Python的C扩展库,学习下PEP7。

https://www.python.org/dev/peps/pep-0007/

2. Code Like a Pythonista: Idiomatic Python

http://python.net/~goodger/projects/pycon/2007/idiomatic/handout.html

是Python超高用法和技巧

3. Python regular expression documentation (必备模块)

https://docs.python.org/3/library/re.html

学好Python一定要读的好文

4. PEP318 Decorators for Functions and Methods

https://www.python.org/dev/peps/pep-0318/https://www.python.org/dev/peps/pep-0318/

decorator非常常见,常见的比如auth、cache都会提供decorator,decorator所实现的功能就是修改紧接 decorator之后定义的函数和方法

5. PEP333 Python Web Server Gateway Interface v1.0 (Web)

https://www.python.org/dev/peps/pep-0333/

6. How To Use Linux epoll with Python (做服务器)

http://scotdoyle.com/python-epoll-howto.html

7.其他推荐

  • Python Tips, Tricks, and Hacks

http://scotdoyle.com/python-epoll-howto.html

  • Python Docstring

https://www.python.org/dev/peps/pep-0257/

  • Coroutines via Enhanced Generators

https://www.python.org/dev/peps/pep-0342/

  • Unifying types and classes in Python(要翻墙)

https://www.python.org/download/releases/2.2.3/descrintro/

  • Python Attributes and Methods

http://www.cafepy.com/article/python_attributes_and_methods/python_attributes_and_methods.html

  • Python Types and Objects,

http://www.cafepy.com/article/python_types_and_objects/

中文:http://wiki.woodpecker.org.cn/moin/PyTypesAndObjects

  • Python best practices

http://www.fantascienza.net/leonardo/ar/python_best_practices.html

  • PEP 20 (The Zen of Python) by example

http://artifex.org/~hblanks/talks/2011/pep20_by_example.py.txt

  • Hidden features of Python

http://stackoverflow.com/questions/101268/hidden-features-of-python

学习过程中遇到什么问题或者想获取学习资源的话,欢迎加入学习交流群

626062078,我们一起学Python!

每天晚上都有大神与你高清视频免费分享交流行业最新动态 凑热闹就不要加了 群名额有限 !

0 0
原创粉丝点击