Python Sheets
Welcome to Python Cheatsheet! — pysheeet


Welcome to pysheeet. This project aims at collecting useful Python snippets
in order to enhance pythoneers’ coding experiences. Please feel free to
contribute if you have any awesome ideas for improvements to code snippets,
explanations, etc.
Any snippets are welcome. If you’d like to contribute, fork pysheeet on GitHub.
If there is any question or suggestion, please create an issue on GitHub Issues.

What’s New In Python 3¶
The official document, What’s New In Python, displays all of the most
important changes. However, if you’re too busy to read the whole changes,
this part provides a brief glance of new features in Python 3.


New in Python3




Cheat Sheet¶
This part mainly focuses on common snippets in Python code. The cheat sheet not
only includes basic Python features but also data structures and algorithms.


Style
From Scratch
Future
Unicode
List
Set
Dictionary
Heap
Function
Classes and Objects
Generator
Typing
Datetime
Files and I/O
Operating System




Advanced Cheat Sheet¶
The goal of this part is to give common snippets including built-in and 3rd party
modules usages.


Regular Expression
Socket
Asyncio
Concurrency
SQLAlchemy
Security
Secure Shell
Test
C Extensions




Appendix¶
The appendix mainly focuses on some critical concepts missing in cheat sheets.


Why does Decorator Need @wraps
A Hitchhikers Guide to Asynchronous Programming
Asyncio behind the Scenes
PEP 572 and The Walrus Operator
Python Interpreter in GNU Debugger



