Skip to content

Latest commit

 

History

History
295 lines (283 loc) · 16.8 KB

Python_Index.md

File metadata and controls

295 lines (283 loc) · 16.8 KB

Python Notes Collections

Alt text

  1. “我基础学完了,接下来该学点什么”
  2. Python yield 使用浅析 by IBM
  3. Difference between _, __ and xx in Python
  4. Python修饰器的函数式编程 | 酷 壳 And Prime on decorators
  5. Python Regular Expression by Google
  6. Python 2.7.6 Glossary
  7. Python Best Practice Patterns
  8. yield keyword explained
  9. Python IAQ by Peter Norvig
  10. Python Useful Tips
  11. python 线程,GIL 和 ctypes
  12. An Introduction to List Comprehensions in Python
  13. Advanced Python Constructs
  14. Python 文本处理 by IBM
  15. Python 代码性能优化技巧 by IBM
  16. 可爱的 Python: Python 中的函数编程 by IBM
  17. *args and **kwargs in python explained
  18. Python 内建函数用法
  19. How does zip(*[iter(s)]*n) work in Python
  20. Why Python is Slow: Looking Under the Hood
  21. Bouncing Python's Generators With a Trampoline
  22. A collection of not-so-obvious Python stuff you should know!
  23. What is the python “with” statement designed for?
  24. Parsing English with 500 lines of Python
  25. Python List Comprehension Vs. Map
  26. Key differences between Python 2.7.x and Python 3.x
  27. What is a Python egg?
  28. The Internal Structure of Python Eggs
  29. is None vs. ==None
  30. Python call function within class
  31. Syntax behind sorted(key=lambda :)
  32. The self variable in python explained
  33. How to retrieve an element from a set without removing it?
  34. How to read aloud Python List Comprehensions?
  35. How collections.defaultdict work
  36. 使用 Python 进行线程编程
  37. What is the difference between @staticmethod and @classmethod in Python?
  38. What is _init_.py for
  39. 可变的call by reference,不可变的call by value
  40. Why does Python assignment not return a value?
  41. Sort list of list with custom compare function in Python
  42. Useful code which uses reduce() in python
  43. 装饰器与函数式Python
  44. Python Patterns - An Optimization Anecdote
  45. Python threading multiple bash subprocesses?
  46. Any gotchas using unicode_literals in Python 2.6?
  47. Iterators, Generators and Decorators
  48. with 48, Functional Programming in Python
  49. Writing 2.x & 3.x Compatible Code
  50. Why is [] faster than list()?
  51. What does ** (double star) and * (star) do for Python parameters?
  52. What is the 'cls' variable used in python classes?
  53. print unicode dict as it is rather than code points
  54. How to get back an overridden python built-in function?
  55. Parallel Programming
  56. Decorators the right way
  57. PEP 0 -- Index of Python Enhancement Proposals (PEPs)
  58. Extending/Embedding FAQ
  59. Purpose of star operator when used on List
  60. Python @classmethod and @staticmethod for beginner?
  61. A Guide to Python's Magic Methods
  62. In-memory size of a Python structure
  63. Ned Batchelder: Getting Started Testing - PyCon 2014
  64. CPython internals: A ten-hour codewalk through the Python interpreter source code
  65. 理解 Python super
  66. Python debugging tips
  67. Fix "Attempted relative import in non-package"
  68. How to make a chain of function decorators?
  69. Class method differences in Python: bound, unbound and static

Examples

  1. Solving Every Sudoku Puzzle by Peter Norvig
  2. 如何使用Python编写一个Lisp解释器 by Peter Norvig
  3. Python 贪吃蛇
  4. How to write a spell checker
  5. 用 Python 秒掉八皇后问题
  6. 自然语言分词 by Peter Norvig
  7. Algorithm X in 30 lines!
  8. 500 Lines or Less ☆
  9. Hidden features of Python ☆
  10. Are list-comprehensions and functional functions faster than “for loops”?
  11. What's the difference between these two ways of initializing an array?
  12. Generator Tricks for Systems Programmers by DAVE BEAZLEY
  13. A Curious Course on Coroutines and Concurrency by DAVE BEAZLEY
  14. DAVE BEAZLEY's Blog
  15. Python Decorator Library
  16. Code Like a Pythonista: Idiomatic Python
  17. What does functools.wraps do? Keep function information (name, docstring...)

Miscellaneous

  1. Python资源#1

  2. Python程序员必知必会的开发者工具 (pydoc, doctest, unittest, trace, profile, timit...)

  3. Ipython Notebook

  4. XKCD Plots in Matplotlib: Going the Whole Way

  5. Django资源

  6. Scipy科学计算

  7. Matplotlib Tutorial

  8. Python常见面试题

  9. Emacs for Python Programming

  10. Python web scraping resource

  11. Powerful network tool: scapy

  12. Bool operator priority

  13. Python Performance Tips

  14. High Performance Python Extensions: Part 1

  15. Example Google Style Python Docstrings

  16. key differences between Python 2.x and Python 3.x

  17. Why isn't Python very good for functional programming?

  18. Must-watch videos about Python

  19. python_articles from Flowerowl

  20. Python best practices guidebook, written for Humans

  21. Github: howdoi - instant coding answers via the command line

  22. Collection of less popular features and tricks for the Python

  23. How to become a proficient Python programmer

  24. tqdm: Add a progress meter to your loops in a second

  25. BeeWare: The IDEs of Python

  26. Python Time complexity

  27. Test with mock

  28. Use curses, dont swear

  29. Hitchhiker's Guide to Python (for humans)

  30. The Elements of Python Style

  31. Complexity of Python Operations

  32. traceback usage

  33. Celery Task Checklist

Flask

  1. Explore Flask

Cheatsheets

Virtualwrapper

  1. in /.zshrc, add: source /usr/local/bin/virtualenvwrapper.sh export WORKON_HOME=/Dropbox/Programs/Python/VIRTUAL_ENV
  2. Create environment: mkvirtualenv py_box
  3. Switch to environment: workon py_box
  4. Exit environment: deactivate

Author: Wilbeibi
Update: Wed Apr 16 17:55:41 EDT 2014
Update: Wed May 7 21:54:10 EDT 2014
Update: Wed May 14 04:12:05 EDT 2014
Update: Sat Jul 12 13:09:46 EDT 2014
Update: Sat Jul 19 08:56:20 EDT 2014
Update: Sun Aug 10 23:36:46 EDT 2014
Update: Wed Aug 27 14:02:59 EDT 2014
Update: Tue Oct 7 23:16:47 EDT 2014
Update: Wed Oct 22 00:49:30 EDT 2014
Update: Wed Nov 5 22:07:20 EST 2014
Update: Mon Dec 29 00:03:49 CST 2014
Update: Sat Feb 21 01:10:24 EST 2015
Update: Wed Apr 15 21:32:20 EDT 2015
Update: Mon May 11 00:13:00 EDT 2015
Update: Fri May 29 08:51:53 EDT 2015
Update: Thu Jun 11 22:01:13 EDT 2015
Update: Mon Nov 16 12:58:19 PST 2015
Update: Sun Dec 6 17:32:34 PST 2015
Update: Wed Jan 13 16:47:43 PST 2016
Update: Sat May 14 23:50:28 PDT 2016
Update: Tue Jun 28 23:15:48 PDT 2016
Update: Thu Dec 15 16:10:05 PST 2016
Update: Mon Aug 28 10:38:48 PDT 2017