Skip to content

mevelick/python-cheatsheet

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python Cheatsheet


This Python Cheatsheet is based on the book Automate the Boring Stuff with Python and many other sources.

Getting Started

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.

Table of Content

Cheatsheet Modules
Python Basics Datetime Module
Built-in Functions Itertools Module
Control Flow Json Module
Functions Random Module
Lists and Tuples Os Module
Dictionaries Pathlib Module
Sets
Comprehensions
Manipulating Strings
String Formatting
Regular Expressions
File and directory Paths
Reading and Writing Files
JSON and YAML
Exception Handling
Debugging
Args and Kwargs
Context Manager
__main__
setup.py
Dataclasses
Virtual Environment

About

All-inclusive Python cheatsheet

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vue 61.8%
  • TypeScript 18.2%
  • CSS 17.1%
  • JavaScript 2.0%
  • HTML 0.9%