René's URL Explorer Experiment


Title: GitHub - wpyoung/python-cheatsheet: Basic Cheat Sheet for Python (PDF, Markdown and Jupyter Notebook)

Open Graph Title: GitHub - wpyoung/python-cheatsheet: Basic Cheat Sheet for Python (PDF, Markdown and Jupyter Notebook)

X Title: GitHub - wpyoung/python-cheatsheet: Basic Cheat Sheet for Python (PDF, Markdown and Jupyter Notebook)

Description: Basic Cheat Sheet for Python (PDF, Markdown and Jupyter Notebook) - wpyoung/python-cheatsheet

Open Graph Description: Basic Cheat Sheet for Python (PDF, Markdown and Jupyter Notebook) - wpyoung/python-cheatsheet

X Description: Basic Cheat Sheet for Python (PDF, Markdown and Jupyter Notebook) - wpyoung/python-cheatsheet

Opengraph URL: https://github.com/wpyoung/python-cheatsheet

X: @github

direct link

Domain: patch-diff.githubusercontent.com

route-pattern/:user_id/:repository
route-controllerfiles
route-actiondisambiguate
fetch-noncev2:a6e283a8-3071-7672-fe23-796e37bc567c
current-catalog-service-hashf3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb
request-idC7EE:881FC:5C33E2:7B1CD7:69730F5C
html-safe-nonce7a7cfafa393f2b14afcec6cdb07ec900e7db5dd9805065356436b42cbc6142b4
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDN0VFOjg4MUZDOjVDMzNFMjo3QjFDRDc6Njk3MzBGNUMiLCJ2aXNpdG9yX2lkIjoiMTExMTk5MjcxNDMxMzAxMTAzNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacdc931a79504c6991549514d764817cdc3db26f7258a088f415504f75d39472bb
hovercard-subject-tagrepository:197860140
github-keyboard-shortcutsrepository,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location//
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/wpyoung/python-cheatsheet
twitter:imagehttps://opengraph.githubassets.com/c1860b29aef367fec298c812abaa8e3a6efc963b8896fc324ecad40b6bf29b5d/wpyoung/python-cheatsheet
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/c1860b29aef367fec298c812abaa8e3a6efc963b8896fc324ecad40b6bf29b5d/wpyoung/python-cheatsheet
og:image:altBasic Cheat Sheet for Python (PDF, Markdown and Jupyter Notebook) - wpyoung/python-cheatsheet
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None44ab3188c1dcfe3be0f9c3feca2e04e14fb79f120939ce2395e4f15ab96ec1d4
turbo-cache-controlno-preview
go-importgithub.com/wpyoung/python-cheatsheet git https://github.com/wpyoung/python-cheatsheet.git
octolytics-dimension-user_id30941735
octolytics-dimension-user_loginwpyoung
octolytics-dimension-repository_id197860140
octolytics-dimension-repository_nwowpyoung/python-cheatsheet
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forktrue
octolytics-dimension-repository_parent_id118820677
octolytics-dimension-repository_parent_nwolabex-labs/python-cheatsheet
octolytics-dimension-repository_network_root_id118820677
octolytics-dimension-repository_network_root_nwolabex-labs/python-cheatsheet
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasea5e2b48bd1260476599758f5d253b5d24092ab84
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fwpyoung%2Fpython-cheatsheet
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fwpyoung%2Fpython-cheatsheet
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E&source=header-repo&source_repo=wpyoung%2Fpython-cheatsheet
Reloadhttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet
Reloadhttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet
Reloadhttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet
wpyoung https://patch-diff.githubusercontent.com/wpyoung
python-cheatsheethttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet
labex-labs/python-cheatsheethttps://patch-diff.githubusercontent.com/labex-labs/python-cheatsheet
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fwpyoung%2Fpython-cheatsheet
Fork 0 https://patch-diff.githubusercontent.com/login?return_to=%2Fwpyoung%2Fpython-cheatsheet
Star 0 https://patch-diff.githubusercontent.com/login?return_to=%2Fwpyoung%2Fpython-cheatsheet
www.pythoncheatsheet.orghttps://www.pythoncheatsheet.org
MIT license https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet/blob/master/LICENSE
0 stars https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet/stargazers
1.4k forks https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet/forks
Branches https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet/branches
Tags https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet/tags
Activity https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet/activity
Star https://patch-diff.githubusercontent.com/login?return_to=%2Fwpyoung%2Fpython-cheatsheet
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fwpyoung%2Fpython-cheatsheet
Code https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet
Pull requests 0 https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet/pulls
Actions https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet/actions
Projects 0 https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet/projects
Security 0 https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet/security
Insights https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet/pulse
Code https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet
Pull requests https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet/pulls
Actions https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet/actions
Projects https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet/projects
Security https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet/security
Insights https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet/pulse
Brancheshttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet/branches
Tagshttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet/tags
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet/branches
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet/tags
232 Commitshttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet/commits/master/
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet/commits/master/
blog_fileshttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet/tree/master/blog_files
blog_fileshttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet/tree/master/blog_files
jupyter_notebookshttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet/tree/master/jupyter_notebooks
jupyter_notebookshttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet/tree/master/jupyter_notebooks
markdownhttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet/tree/master/markdown
markdownhttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet/tree/master/markdown
.gitignorehttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet/blob/master/.gitignore
.gitignorehttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet/blob/master/.gitignore
CODE_OF_CONDUCT.mdhttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet/blob/master/CODE_OF_CONDUCT.md
CODE_OF_CONDUCT.mdhttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet/blob/master/CODE_OF_CONDUCT.md
CONTRIBUTING.mdhttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet/blob/master/CONTRIBUTING.md
CONTRIBUTING.mdhttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet/blob/master/CONTRIBUTING.md
LICENSEhttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet/blob/master/LICENSE
LICENSEhttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet/blob/master/LICENSE
README.mdhttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet/blob/master/README.md
README.mdhttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet/blob/master/README.md
poetry.lockhttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet/blob/master/poetry.lock
poetry.lockhttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet/blob/master/poetry.lock
pyproject.tomlhttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet/blob/master/pyproject.toml
pyproject.tomlhttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet/blob/master/pyproject.toml
python_cheat_sheet.pdfhttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet/blob/master/python_cheat_sheet.pdf
python_cheat_sheet.pdfhttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet/blob/master/python_cheat_sheet.pdf
READMEhttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet
Code of conducthttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet
Contributinghttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet
MIT licensehttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet
https://mybinder.org/v2/gh/wilfredinni/python-cheatsheet/master?filepath=jupyter_notebooks
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#about-
Automate the Boring Stuff with Pythonhttps://automatetheboringstuff.com/
Creative Commons licensehttps://creativecommons.org/licenses/by-nc-sa/3.0/
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#contribute
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#read-it
Websitehttps://www.pythoncheatsheet.org
Githubhttps://github.com/wilfredinni/python-cheatsheet
PDFhttps://github.com/wilfredinni/Python-cheatsheet/raw/master/python_cheat_sheet.pdf
Jupyter Notebookhttps://mybinder.org/v2/gh/wilfredinni/python-cheatsheet/master?filepath=jupyter_notebooks
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
The Zen of Pythonhttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#the-zen-of-python
Python Basicshttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-basics
Math Operatorshttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#math-operators
Data Typeshttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#data-types
String Concatenation and Replicationhttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#string-concatenation-and-replication
Variableshttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#variables
Commentshttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#comments
The print() Functionhttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#the-print-function
The input() Functionhttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#the-input-function
The len() Functionhttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#the-len-function
The str(), int(), and float() Functionshttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#the-str-int-and-float-functions
Flow Controlhttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#flow-control
Comparison Operatorshttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#comparison-operators
Boolean evaluationhttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#boolean-evaluation
Boolean Operatorshttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#boolean-operators
Mixing Boolean and Comparison Operatorshttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#mixing-boolean-and-comparison-operators
if Statementshttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#if-statements
else Statementshttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#else-statements
elif Statementshttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#elif-statements
while Loop Statementshttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#while-loop-statements
break Statementshttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#break-statements
continue Statementshttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#continue-statements
for Loops and the range() Functionhttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#for-loops-and-the-range-function
For else statementhttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#for-else-statement
Importing Moduleshttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#importing-modules
Ending a Program Early with sys.exit()https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#ending-a-program-early-with-sysexit
Functionshttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#functions
Return Values and return Statementshttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#return-values-and-return-statements
The None Valuehttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#the-none-value
Keyword Arguments and print()https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#keyword-arguments-and-print
Local and Global Scopehttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#local-and-global-scope
The global Statementhttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#the-global-statement
Exception Handlinghttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#exception-handling
Basic exception handlinghttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#basic-exception-handling
Final code in exception handlinghttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#final-code-in-exception-handling
Listshttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#lists
Getting Individual Values in a List with Indexeshttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#getting-individual-values-in-a-list-with-indexes
Negative Indexeshttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#negative-indexes
Getting Sublists with Sliceshttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#getting-sublists-with-slices
Getting a List’s Length with len()https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#getting-a-list%E2%80%99s-length-with-len
Changing Values in a List with Indexeshttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#changing-values-in-a-list-with-indexes
List Concatenation and List Replicationhttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#list-concatenation-and-list-replication
Removing Values from Lists with del Statementshttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#removing-values-from-lists-with-del-statements
Using for Loops with Listshttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#using-for-loops-with-lists
Looping Through Multiple Lists with zip()https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#looping-through-multiple-lists-with-zip
The in and not in Operatorshttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#the-in-and-not-in-operators
The Multiple Assignment Trickhttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#the-multiple-assignment-trick
Augmented Assignment Operatorshttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#augmented-assignment-operators
Finding a Value in a List with the index() Methodhttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#finding-a-value-in-a-list-with-the-index-method
Adding Values to Lists with the append() and insert() Methodshttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#adding-values-to-lists-with-the-append-and-insert-methods
Removing Values from Lists with remove()https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#removing-values-from-lists-with-remove
Sorting the Values in a List with the sort() Methodhttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#sorting-the-values-in-a-list-with-the-sort-method
Tuple Data Typehttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#tuple-data-type
Converting Types with the list() and tuple() Functionshttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#converting-types-with-the-list-and-tuple-functions
Dictionaries and Structuring Datahttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#dictionaries-and-structuring-data
The keys(), values(), and items() Methodshttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#the-keys-values-and-items-methods
Checking Whether a Key or Value Exists in a Dictionaryhttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#checking-whether-a-key-or-value-exists-in-a-dictionary
The get() Methodhttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#the-get-method
The setdefault() Methodhttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#the-setdefault-method
Pretty Printinghttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#pretty-printing
Merge two dictionarieshttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#merge-two-dictionaries
setshttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#sets
Initializing a sethttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#initializing-a-set
sets: unordered collections of unique elementshttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#sets-unordered-collections-of-unique-elements
set add() and update()https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#set-add-and-update
set remove() and discard()https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#set-remove-and-discard
set union()https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#set-union
set intersectionhttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#set-intersection
set differencehttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#set-difference
set symetric_differencehttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#set-symetricdifference
itertools Modulehttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#itertools-module
accumulate()https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#accumulate
combinations()https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#combinations
combinations_with_replacement()https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#combinationswithreplacement
count()https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#count
cycle()https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#cycle
chain()https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#chain
compress()https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#compress
dropwhile()https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#dropwhile
filterfalse()https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#filterfalse
groupby()https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#groupby
islice()https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#islice
permutations()https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#permutations
product()https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#product
repeat()https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#repeat
starmap()https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#starmap
takewhile()https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#takewhile
tee()https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#tee
zip_longest()https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#ziplongest
Comprehensionshttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#comprehensions
List comprehensionhttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#list-comprehension
Set comprehensionhttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#set-comprehension
Dict comprehensionhttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#dict-comprehension
Manipulating Stringshttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#manipulating-strings
Escape Charactershttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#escape-characters
Raw Stringshttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#raw-strings
Multiline Strings with Triple Quoteshttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#multiline-strings-with-triple-quotes
Indexing and Slicing Stringshttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#indexing-and-slicing-strings
The in and not in Operators with Stringshttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#the-in-and-not-in-operators-with-strings
The in and not in Operators with listhttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#the-in-and-not-in-operators-with-list
The upper(), lower(), isupper(), and islower() String Methodshttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#the-upper-lower-isupper-and-islower-string-methods
The isX String Methodshttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#the-isx-string-methods
The startswith() and endswith() String Methodshttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#the-startswith-and-endswith-string-methods
The join() and split() String Methodshttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#the-join-and-split-string-methods
Justifying Text with rjust(), ljust(), and center()https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#justifying-text-with-rjust-ljust-and-center
Removing Whitespace with strip(), rstrip(), and lstrip()https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#removing-whitespace-with-strip-rstrip-and-lstrip
Copying and Pasting Strings with the pyperclip Module (need pip install)https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#copying-and-pasting-strings-with-the-pyperclip-module-need-pip-install
String Formattinghttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#string-formatting
% operatorhttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#operator
String Formatting (str.format)https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#string-formatting-strformat
Lazy string formattinghttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#lazy-string-formatting
Formatted String Literals or f-strings (Python 3.6+)https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#formatted-string-literals-or-f-strings-python-36
Template Stringshttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#template-strings
Regular Expressionshttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#regular-expressions
Matching Regex Objectshttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#matching-regex-objects
Grouping with Parentheseshttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#grouping-with-parentheses
Matching Multiple Groups with the Pipehttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#matching-multiple-groups-with-the-pipe
Optional Matching with the Question Markhttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#optional-matching-with-the-question-mark
Matching Zero or More with the Starhttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#matching-zero-or-more-with-the-star
Matching One or More with the Plushttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#matching-one-or-more-with-the-plus
Matching Specific Repetitions with Curly Bracketshttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#matching-specific-repetitions-with-curly-brackets
Greedy and Nongreedy Matchinghttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#greedy-and-nongreedy-matching
The findall() Methodhttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#the-findall-method
Making Your Own Character Classeshttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#making-your-own-character-classes
The Caret and Dollar Sign Charactershttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#the-caret-and-dollar-sign-characters
The Wildcard Characterhttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#the-wildcard-character
Matching Everything with Dot-Starhttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#matching-everything-with-dot-star
Matching Newlines with the Dot Characterhttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#matching-newlines-with-the-dot-character
Review of Regex Symbolshttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#review-of-regex-symbols
Case-Insensitive Matchinghttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#case-insensitive-matching
Substituting Strings with the sub() Methodhttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#substituting-strings-with-the-sub-method
Managing Complex Regexeshttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#managing-complex-regexes
Handling File and Directory Pathshttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#handling-file-and-directory-paths
Backslash on Windows and Forward Slash on OS X and Linuxhttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#backslash-on-windows-and-forward-slash-on-os-x-and-linux
The Current Working Directoryhttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#the-current-working-directory
Creating New Foldershttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#creating-new-folders
Absolute vs. Relative Pathshttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#absolute-vs-relative-paths
Handling Absolute and Relative Pathshttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#handling-absolute-and-relative-paths
Checking Path Validityhttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#checking-path-validity
Finding File Sizes and Folder Contentshttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#finding-file-sizes-and-folder-contents
Copying Files and Foldershttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#copying-files-and-folders
Moving and Renaming Files and Foldershttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#moving-and-renaming-files-and-folders
Permanently Deleting Files and Foldershttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#permanently-deleting-files-and-folders
Safe Deletes with the send2trash Modulehttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#safe-deletes-with-the-send2trash-module
Walking a Directory Treehttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#walking-a-directory-tree
Reading and Writing Fileshttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#reading-and-writing-files
The File Reading/Writing Processhttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#the-file-readingwriting-process
Opening and reading files with the open() functionhttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#opening-and-reading-files-with-the-open-function
Writing to Fileshttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#writing-to-files
Saving Variables with the shelve Modulehttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#saving-variables-with-the-shelve-module
Saving Variables with the pprint.pformat() Functionhttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#saving-variables-with-the-pprintpformat-function
Reading ZIP Fileshttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#reading-zip-files
Extracting from ZIP Fileshttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#extracting-from-zip-files
Creating and Adding to ZIP Fileshttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#creating-and-adding-to-zip-files
JSON, YAML and configuration fileshttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#json-yaml-and-configuration-files
JSONhttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#json
YAMLhttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#yaml
Anyconfighttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#anyconfig
Debugginghttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#debugging
Raising Exceptionshttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#raising-exceptions
Getting the Traceback as a Stringhttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#getting-the-traceback-as-a-string
Assertionshttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#assertions
Logginghttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#logging
Logging Levelshttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#logging-levels
Disabling Logginghttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#disabling-logging
Logging to a Filehttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#logging-to-a-file
Lambda Functionshttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#lambda-functions
Ternary Conditional Operatorhttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#ternary-conditional-operator
args and kwargshttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#args-and-kwargs
Thinks to Remember(args)https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#thinks-to-rememberargs
Thinks to remember(kwargs)https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#thinks-to-rememberkwargs
Context Managerhttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#context-manager
with statementhttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#with-statement
Writing your own contextmanager using generator syntaxhttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#writing-your-own-contextmanager-using-generator-syntax
__main__ Top-level script environmenthttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#main-top-level-script-environment
Advantageshttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#advantages
setup.pyhttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#setuppy
Dataclasseshttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#dataclasses
Featureshttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#features
Default valueshttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#default-values
Type hintshttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#type-hints
Virtual Environmenthttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#virtual-environment
virtualenvhttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#virtualenv
poetryhttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#poetry
pipenvhttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#pipenv
anacondahttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#anaconda
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#the-zen-of-python
PEP 20 -- The Zen of Pythonhttps://www.python.org/dev/peps/pep-0020/
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-basics
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#math-operators
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#data-types
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#string-concatenation-and-replication
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#variables
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#comments
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#the-print-function
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#the-input-function
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#the-len-function
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#the-str-int-and-float-functions
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#flow-control
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#comparison-operators
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#boolean-evaluation
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#boolean-operators
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#mixing-boolean-and-comparison-operators
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#if-statements
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#else-statements
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#elif-statements
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#while-loop-statements
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#break-statements
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#continue-statements
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#for-loops-and-the-range-function
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#for-else-statement
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#importing-modules
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#ending-a-program-early-with-sysexit
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#functions
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#return-values-and-return-statements
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#the-none-value
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#keyword-arguments-and-print
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#local-and-global-scope
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#the-global-statement
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#exception-handling
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#basic-exception-handling
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#final-code-in-exception-handling
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#lists
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#getting-individual-values-in-a-list-with-indexes
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#negative-indexes
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#getting-sublists-with-slices
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#getting-a-lists-length-with-len
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#changing-values-in-a-list-with-indexes
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#list-concatenation-and-list-replication
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#removing-values-from-lists-with-del-statements
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#using-for-loops-with-lists
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#looping-through-multiple-lists-with-zip
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#the-in-and-not-in-operators
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#the-multiple-assignment-trick
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#augmented-assignment-operators
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#finding-a-value-in-a-list-with-the-index-method
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#adding-values-to-lists-with-the-append-and-insert-methods
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#removing-values-from-lists-with-remove
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#sorting-the-values-in-a-list-with-the-sort-method
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#tuple-data-type
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#converting-types-with-the-list-and-tuple-functions
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#dictionaries-and-structuring-data
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#the-keys-values-and-items-methods
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#checking-whether-a-key-or-value-exists-in-a-dictionary
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#the-get-method
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#the-setdefault-method
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#pretty-printing
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#merge-two-dictionaries
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#sets
documentationhttps://docs.python.org/3/tutorial/datastructures.html
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#initializing-a-set
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#sets-unordered-collections-of-unique-elements
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#set-add-and-update
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#set-remove-and-discard
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#set-union
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#set--intersection
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#set--difference
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#set-symetric_difference
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#itertools-module
listshttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#lists
dictionarieshttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#dictionaries-and-structuring-data
Python 3.x documentationhttps://docs.python.org/3/library/itertools.html
operatorhttps://docs.python.org/3/library/operator.html
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#accumulate
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#combinations
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#combinations_with_replacement
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#count
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#cycle
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#chain
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#compress
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#dropwhile
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#filterfalse
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#groupby
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#islice
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#permutations
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#product
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#repeat
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#starmap
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#takewhile
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#tee
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#zip_longest
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#comprehensions
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#list-comprehension
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#set-comprehension
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#dict-comprehension
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#manipulating-strings
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#escape-characters
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#raw-strings
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#multiline-strings-with-triple-quotes
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#indexing-and-slicing-strings
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#the-in-and-not-in-operators-with-strings
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#the-in-and-not-in-operators-with-list
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#the-upper-lower-isupper-and-islower-string-methods
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#the-isx-string-methods
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#the-startswith-and-endswith-string-methods
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#the-join-and-split-string-methods
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#justifying-text-with-rjust-ljust-and-center
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#removing-whitespace-with-strip-rstrip-and-lstrip
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#copying-and-pasting-strings-with-the-pyperclip-module-need-pip-install
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#string-formatting
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#-operator
str.formathttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#string-formatting-strformat
f-stringshttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#formatted-string-literals-or-f-strings-python-36
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#string-formatting-strformat
Python 3.x documentationhttps://docs.python.org/3/library/stdtypes.html?highlight=sprintf#printf-style-string-formatting
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#lazy-string-formatting
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#formatted-string-literals-or-f-strings-python-36
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#template-strings
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#regular-expressions
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#matching-regex-objects
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#grouping-with-parentheses
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#matching-multiple-groups-with-the-pipe
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#optional-matching-with-the-question-mark
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#matching-zero-or-more-with-the-star
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#matching-one-or-more-with-the-plus
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#matching-specific-repetitions-with-curly-brackets
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#greedy-and-nongreedy-matching
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#the-findall-method
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#making-your-own-character-classes
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#the-caret-and-dollar-sign-characters
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#the-wildcard-character
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#matching-everything-with-dot-star
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#matching-newlines-with-the-dot-character
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#review-of-regex-symbols
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#case-insensitive-matching
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#substituting-strings-with-the-sub-method
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#managing-complex-regexes
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#handling-file-and-directory-paths
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#backslash-on-windows-and-forward-slash-on-os-x-and-linux
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#the-current-working-directory
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#creating-new-folders
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#absolute-vs-relative-paths
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#handling-absolute-and-relative-paths
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#checking-path-validity
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#finding-file-sizes-and-folder-contents
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#copying-files-and-folders
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#moving-and-renaming-files-and-folders
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#permanently-deleting-files-and-folders
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#safe-deletes-with-the-send2trash-module
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#walking-a-directory-tree
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
official documentationhttps://docs.python.org/3/library/pathlib.html
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#reading-and-writing-files
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#the-file-readingwriting-process
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#opening-and-reading-files-with-the-open-function
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#writing-to-files
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#saving-variables-with-the-shelve-module
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#saving-variables-with-the-pprintpformat-function
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#reading-zip-files
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#extracting-from-zip-files
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#creating-and-adding-to-zip-files
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#json-yaml-and-configuration-files
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#json
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#yaml
PyYamlhttps://pypi.python.org/pypi/PyYAML
Ruamel.yamlhttps://pypi.python.org/pypi/ruamel.yaml
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#anyconfig
Anyconfighttps://pypi.python.org/pypi/anyconfig
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#debugging
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#raising-exceptions
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#getting-the-traceback-as-a-string
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#assertions
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#logging
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#logging-levels
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#disabling-logging
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#logging-to-a-file
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#lambda-functions
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#ternary-conditional-operator
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#args-and-kwargs
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#thinks-to-rememberargs
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#thinks-to-rememberkwargs
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#context-manager
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#with-statement
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#writing-your-own-contextmanager-using-generator-syntax
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#__main__-top-level-script-environment
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#advantages
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#setuppy
http://docs.python.org/install/index.htmlhttp://docs.python.org/install/index.html
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#dataclasses
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#features
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#default-values
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#type-hints
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#virtual-environment
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#virtualenv
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#poetry
Poetryhttps://poetry.eustace.io/
documentationhttps://poetry.eustace.io/docs/
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#pipenv
Pipenvhttps://pipenv.readthedocs.io/en/latest/
docs.pipenv.orghttps://docs.pipenv.org/
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#anaconda
Anacondahttps://anaconda.org/
Return to the Tophttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet
www.pythoncheatsheet.orghttps://www.pythoncheatsheet.org
Readme https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#readme-ov-file
MIT license https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#MIT-1-ov-file
Code of conduct https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#coc-ov-file
Contributing https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#contributing-ov-file
Please reload this pagehttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet
Activityhttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet/activity
0 starshttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet/stargazers
0 watchinghttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet/watchers
0 forkshttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet/forks
Report repository https://patch-diff.githubusercontent.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2Fwpyoung%2Fpython-cheatsheet&report=wpyoung+%28user%29
Releaseshttps://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet/releases
Packages 0https://patch-diff.githubusercontent.com/users/wpyoung/packages?repo_name=python-cheatsheet
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.