Code Monkey home page Code Monkey logo

python-cheatsheet's Introduction

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 Shelve Module
Comprehensions Zipfile Module
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

python-cheatsheet's People

Contributors

wilfredinni avatar sonatrix avatar mat1g3r avatar samithamphk avatar rawatdev avatar gsemet avatar flymemoryrpa avatar sztheory avatar ckartchner avatar matteodem avatar abdussalam02 avatar azanbinzahid avatar pms-crypto avatar rbuzzell avatar michaelbaluja avatar nugel avatar danielpclin avatar aloklal99 avatar arham-fox avatar codewithbishal avatar evanrrees avatar gaura avatar devgauravjoshi avatar imgbotapp avatar unixorn avatar kavin5kumar avatar matthew-nicholson avatar mu-us61 avatar hacktron95 avatar prashanthbhat203 avatar

Stargazers

Roman avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.