# Python Cheatsheet

- **Website:** <https://pythoncheatsheet.org>
- **Primary alias:** `pythoncheatsheet.org`

## Description

Python Cheatsheet is a comprehensive reference guide for both beginner and advanced developers. It aims to simplify complex concepts and make Python programming accessible to all. Whether you need a quick reminder on how to create character classes for a regex or perform a for loop, this cheat sheet covers it all. The cheat sheet is divided into various sections, including Basics, Built-in Functions, Control Flow, Functions, Lists and Tuples, Dictionaries, Sets, Comprehensions, Manipulating Strings, String Formatting, Regular Expressions, Files and Directory Paths, Reading and Writing Files, Exception Handling, Debugging, Args and Kwargs, Context Manager, OOP, Dataclasses, setup.py, Virtual Environments, Standard Library, Copy, Datetime, Itertools, JSON, OS, Pathlib, Random, Shelve, and Zipfile. Based on the popular book Automate the Boring Stuff with Python and other reliable sources, this cheatsheet is a valuable resource for programmers of all levels. Whether you're a newcomer trying to learn Python or a seasoned veteran looking to refresh your skills, the Python Cheatsheet has you covered.

## Industries

- 🖥 Computers Electronics and Technology
- 🖥 Programming and Developer Software _(under Computers Electronics and Technology)_
- 🗺 Reference Materials

## Links

- [github](https://github.com/wilfredinni)

## Logos & icons

- logo _(primary)_ — PNG — [download](https://cdn.brandfetch.io/id9M63qILl/w/1024/h/1024/theme/dark/logo.png?c=1bxid64Mup7aczewSAYMX&t=1725157087943)

## Colors

| Name | Hex | Theme |
| --- | --- | --- |
| Ripe Lemon | #f7df1e | accent |
| Ebony | #101727 | dark |
| Malibu | #86d0f5 | light |

## Fonts

- Inter — asset _(google)_

---

_Source: <https://brandfetch.com/pythoncheatsheet.org>_
_See [/llms.txt](/llms.txt) for a full list of agent-readable pages, and [/auth.md](/auth.md) for how agents authenticate._