Skip to content

labex-labs/python-cheatsheet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🔥 LabEx Black Friday 2025 Best Price of The Year|Get 50% OFF Now →


Python Cheatsheet

Python Cheatsheet is a comprehensive reference guide for Python developers of all skill levels. Based on the book Automate the Boring Stuff with Python and many other sources, this cheatsheet provides a quick reference for common Python tasks and concepts.

Anyone can forget how to make character classes for a regex, slice a list, or do a for loop. This Python cheatsheet tries to provide basic reference for beginner and advanced developers, lower the entry barrier for newcomers and help veterans refresh the old tricks.

Features

  • Comprehensive Coverage: From basics to advanced topics including built-in functions, control flow, data structures, and more
  • Built-in Functions Reference: Detailed documentation for all Python built-in functions
  • Module Documentation: Guides for popular Python modules like datetime, json, pathlib, itertools, and more
  • Blog Articles: In-depth articles about Python and its ecosystem
  • Easy Navigation: Well-organized sections with clear examples and explanations
  • Dark Mode Support: Beautiful UI with light and dark themes

Quick Links

  • View on GitHub: Drop a star on GitHub if you find this project useful
  • Contribute: Get to know how easy it is to contribute to the Python Cheatsheet
  • Blog: Read detailed articles about Python and its ecosystem
  • Changelog: See what is new, what got fixed, and what is coming

Contributing

Contributions are welcome! Please see the Contributing Guide for details on how to get started.

License

Content is licensed under MIT and maintained by the LabEx team.