python-cheatsheet

Introduction

  • Getting started

Cheatsheet

  • Basics
  • Built-in functions
  • Control flow
  • Functions
  • List and Tuples
  • Dictionaries
  • Sets
  • Comprehensions
  • Manipulating strings
  • String formatting
  • Regular expressions
  • Files and directory paths
  • Reading and writing files
  • Json and Yaml
  • Exception handling
  • Debugging
  • Args and Kwargs
  • Decorators
  • Context manager
  • OOP
  • Dataclasses
  • setup.py
  • Main: top level script
  • Virtual environments

Standard Library

  • Copy
  • Datetime
  • Itertools
  • Json
  • Os
  • Pathlib
  • Random
  • Shelve
  • Zipfile
python-cheatsheet

Hoot Academy - Python Cheatsheet

Welcome

This is the Hoot Academy Python Cheatsheet. Here you'll find a concise, practical reference for Python, designed to help both beginners and experienced developers quickly find what they need.

Next page Basics

On this page