René's URL Explorer Experiment


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

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

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

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

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

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

Opengraph URL: https://github.com/Barry-Williams/python-cheatsheet

X: @github

direct link

Domain: patch-diff.githubusercontent.com

route-pattern/:user_id/:repository
route-controllerfiles
route-actiondisambiguate
fetch-noncev2:763a33a7-3f66-6672-ee35-ef7a955bbcc8
current-catalog-service-hashf3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb
request-id9D5E:5BCF5:3C4A3F4:4D1632D:6975F69D
html-safe-nonce9a9c8ca7eb1bb7381de7653b7921f4951fbf72160df3bf68a9adf731c9becc49
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RDVFOjVCQ0Y1OjNDNEEzRjQ6NEQxNjMyRDo2OTc1RjY5RCIsInZpc2l0b3JfaWQiOiI4MTE5NDc2NzYxMDY3Mzg2NTI1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac6fed5a28b144e072c20775d4169684ea729889986d6db7ca118c0a68535dc1df
hovercard-subject-tagrepository:459858338
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/Barry-Williams/python-cheatsheet
twitter:imagehttps://opengraph.githubassets.com/74d60822604d85c5d8a9cb9b8be3d43a0e93a2901b1da05581460759d2cfab31/Barry-Williams/python-cheatsheet
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/74d60822604d85c5d8a9cb9b8be3d43a0e93a2901b1da05581460759d2cfab31/Barry-Williams/python-cheatsheet
og:image:altBasic Cheat Sheet for Python (PDF, Markdown and Jupyter Notebook) - Barry-Williams/python-cheatsheet
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None2bce766e7450b03e00b2fc5badd417927ce33a860e78cda3e4ecb9bbd1374cc6
turbo-cache-controlno-preview
go-importgithub.com/Barry-Williams/python-cheatsheet git https://github.com/Barry-Williams/python-cheatsheet.git
octolytics-dimension-user_id69337381
octolytics-dimension-user_loginBarry-Williams
octolytics-dimension-repository_id459858338
octolytics-dimension-repository_nwoBarry-Williams/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
releasefcca2b8ef702b5f7f91427a6e920fa44446fe312
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/Barry-Williams/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%2FBarry-Williams%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%2FBarry-Williams%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=Barry-Williams%2Fpython-cheatsheet
Reloadhttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet
Reloadhttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet
Reloadhttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet
Barry-Williams https://patch-diff.githubusercontent.com/Barry-Williams
python-cheatsheethttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet
labex-labs/python-cheatsheethttps://patch-diff.githubusercontent.com/labex-labs/python-cheatsheet
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2FBarry-Williams%2Fpython-cheatsheet
Fork 0 https://patch-diff.githubusercontent.com/login?return_to=%2FBarry-Williams%2Fpython-cheatsheet
Star 0 https://patch-diff.githubusercontent.com/login?return_to=%2FBarry-Williams%2Fpython-cheatsheet
www.pythoncheatsheet.orghttps://www.pythoncheatsheet.org
MIT license https://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet/blob/master/LICENSE
0 stars https://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet/stargazers
1.4k forks https://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet/forks
Branches https://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet/branches
Tags https://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet/tags
Activity https://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet/activity
Star https://patch-diff.githubusercontent.com/login?return_to=%2FBarry-Williams%2Fpython-cheatsheet
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2FBarry-Williams%2Fpython-cheatsheet
Code https://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet
Pull requests 0 https://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet/pulls
Actions https://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet/actions
Projects 0 https://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet/projects
Security 0 https://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet/security
Insights https://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet/pulse
Code https://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet
Pull requests https://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet/pulls
Actions https://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet/actions
Projects https://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet/projects
Security https://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet/security
Insights https://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet/pulse
Brancheshttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet/branches
Tagshttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet/tags
https://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet/branches
https://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet/tags
321 Commitshttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet/commits/master/
https://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet/commits/master/
blog_fileshttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet/tree/master/blog_files
blog_fileshttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet/tree/master/blog_files
jupyter_notebookshttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet/tree/master/jupyter_notebooks
jupyter_notebookshttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet/tree/master/jupyter_notebooks
markdownhttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet/tree/master/markdown
markdownhttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet/tree/master/markdown
.gitignorehttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet/blob/master/.gitignore
.gitignorehttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet/blob/master/.gitignore
CODE_OF_CONDUCT.mdhttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet/blob/master/CODE_OF_CONDUCT.md
CODE_OF_CONDUCT.mdhttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet/blob/master/CODE_OF_CONDUCT.md
CONTRIBUTING.mdhttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet/blob/master/CONTRIBUTING.md
CONTRIBUTING.mdhttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet/blob/master/CONTRIBUTING.md
LICENSEhttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet/blob/master/LICENSE
LICENSEhttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet/blob/master/LICENSE
README.mdhttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet/blob/master/README.md
README.mdhttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet/blob/master/README.md
_config.ymlhttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet/blob/master/_config.yml
_config.ymlhttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet/blob/master/_config.yml
poetry.lockhttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet/blob/master/poetry.lock
poetry.lockhttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet/blob/master/poetry.lock
pyproject.tomlhttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet/blob/master/pyproject.toml
pyproject.tomlhttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet/blob/master/pyproject.toml
python_cheat_sheet.pdfhttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet/blob/master/python_cheat_sheet.pdf
python_cheat_sheet.pdfhttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet/blob/master/python_cheat_sheet.pdf
READMEhttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet
Code of conducthttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet
Contributinghttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet
MIT licensehttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet
https://patch-diff.githubusercontent.com/Barry-Williams/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/Barry-Williams/python-cheatsheet#read-it
Website with full cheat sheethttps://www.pythoncheatsheet.org
https://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#python-cheatsheet
Abouthttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#about
Contributehttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#contribute
Read Ithttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#read-it
Python Cheatsheethttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#python-cheatsheet
Python Basicshttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#python-basics
Math Operatorshttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#math-operators
Data Typeshttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#data-types
String Concatenation and Replicationhttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#string-concatenation-and-replication
Variableshttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#variables
Commentshttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#comments
The print() Functionhttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#the-print-function
The input() Functionhttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#the-input-function
The len() Functionhttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#the-len-function
The str(), int(), and float() Functionshttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#the-str-int-and-float-functions
Flow Controlhttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#flow-control
Comparison Operatorshttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#comparison-operators
Boolean evaluationhttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#boolean-evaluation
Boolean Operatorshttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#boolean-operators
Mixing Boolean and Comparison Operatorshttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#mixing-boolean-and-comparison-operators
indentation and code blocks (:)https://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#indentation-and-code-blocks
if Statementshttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#if-statements
else Statementshttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#else-statements
elif Statementshttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#elif-statements
while Loop Statementshttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#while-loop-statements
break Statementshttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#break-statements
continue Statementshttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#continue-statements
for Loops and the range() Functionhttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#for-loops-and-the-range-function
For else statementhttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#for-else-statement
Importing Moduleshttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#importing-modules
Ending a Program Early with sys.exit()https://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#ending-a-program-early-with-sysexit
Functionshttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#functions
Return Values and return Statementshttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#return-values-and-return-statements
The None Valuehttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#the-none-value
Keyword Arguments and print()https://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#keyword-arguments-and-print
Local and Global Scopehttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#local-and-global-scope
The global Statementhttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#the-global-statement
Exception Handlinghttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#exception-handling
Basic exception handlinghttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#basic-exception-handling
Final code in exception handlinghttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#final-code-in-exception-handling
Listshttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#lists
Getting Individual Values in a List with Indexeshttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#getting-individual-values-in-a-list-with-indexes
Negative Indexeshttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#negative-indexes
Getting Sublists with Sliceshttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#getting-sublists-with-slices
Getting a List’s Length with len()https://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#getting-a-lists-length-with-len
Changing Values in a List with Indexeshttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#changing-values-in-a-list-with-indexes
List Concatenation and List Replicationhttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#list-concatenation-and-list-replication
Removing Values from Lists with del Statementshttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#removing-values-from-lists-with-del-statements
Using for Loops with Listshttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#using-for-loops-with-lists
The in and not in Operatorshttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#the-in-and-not-in-operators
Augmented Assignment Operatorshttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#augmented-assignment-operators
Finding a Value in a List with the index() Methodhttps://patch-diff.githubusercontent.com/Barry-Williams/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/Barry-Williams/python-cheatsheet#adding-values-to-lists-with-the-append-and-insert-methods
Removing Values from Lists with remove()https://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#removing-values-from-lists-with-remove
Removing Values from Lists with pop()https://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#removing-values-from-lists-with-pop
Indexing and Slicing Stringshttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#indexing-and-slicing-strings
The in and not in Operators with Stringshttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#the-in-and-not-in-operators-with-strings
The in and not in Operators with listhttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#the-in-and-not-in-operators-with-list
The upper(), lower(), isupper(), and islower() String Methodshttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#the-upper-lower-isupper-and-islower-string-methods
Formatted String Literals or f-strings (Python 3.6+)https://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#formatted-string-literals-or-f-strings-python-36
https://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#python-basics
https://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#symbols-and-terminology
https://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#math-operators
Return to the Tophttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#data-types
Return to the Tophttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#string-concatenation-and-replication
fStringshttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#formatted-string-literals-or-f-strings-python-36
Return to the Tophttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#variables
https://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#camelcase
Return to the Tophttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#comments
Return to the Tophttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#the-print-function
Return to the Tophttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#the-input-function
Return to the Tophttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#the-len-function
Return to the Tophttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#the-str-int-and-float-functions
fstringshttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#formatted-string-literals-or-f-strings-python-36
Return to the Tophttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#flow-control
https://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#comparison-operators
https://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#boolean-operators
Return to the Tophttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#mixing-boolean-and-comparison-operators
Return to the Tophttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#indentation-and-code-blocks
ifhttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#if-statements
elsehttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#else-statements
elifhttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#elif-statements
forhttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#for-loops-and-the-range-function
whilehttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#while-loop-statements
defhttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#functions
https://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#if-statements
Return to the Tophttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#else-statements
Return to the Tophttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#elif-statements
Return to the Tophttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#while-loop-statements
Return to the Tophttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#break-statements
Return to the Tophttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#continue-statements
Return to the Tophttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#for-loops-and-the-range-function
https://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#for-else-statement
Return to the Tophttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#importing-modules
Return to the Tophttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#ending-a-program-early-with-sysexit
Return to the Tophttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#functions
Return to the Tophttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#return-values-and-return-statements
Return to the Tophttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#python-cheatsheet
Return to the Tophttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#local-and-global-scope
Return to the Tophttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#the-global-statement
Return to the Tophttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#exception-handling
https://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#basic-exception-handling
Return to the Tophttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#final-code-in-exception-handling
Return to the Tophttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#lists
Return to the Tophttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#getting-individual-values-in-a-list-with-indexes
Return to the Tophttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#negative-indexes
Return to the Tophttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#getting-sublists-with-slices
Return to the Tophttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#getting-a-lists-length-with-len
Return to the Tophttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#changing-values-in-a-list-with-indexes
Return to the Tophttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#using-for-loops-with-lists
Return to the Tophttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#the-in-and-not-in-operators
Return to the Tophttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#augmented-assignment-operators
Return to the Tophttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#finding-a-value-in-a-list-with-the-index-method
Return to the Tophttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#adding-values-to-lists-with-the-append-and-insert-methods
Return to the Tophttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#removing-values-from-lists-with-remove
Return to the Tophttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#removing-values-from-lists-with-pop
Return to the Tophttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#sorting-the-values-in-a-list-with-the-sort-method
Return to the Tophttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#multiline-strings-with-triple-quotes
https://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#indexing-and-slicing-strings
Return to the Tophttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#the-in-and-not-in-operators-with-list
Return to the Tophttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#the-upper-lower-isupper-and-islower-string-methods
Return to the Tophttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#python-cheatsheet
https://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#formatted-string-literals-or-f-strings-python-36
Return to the Tophttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#python-cheatsheet
www.pythoncheatsheet.orghttps://www.pythoncheatsheet.org
Readme https://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#readme-ov-file
MIT license https://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#MIT-1-ov-file
Code of conduct https://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#coc-ov-file
Contributing https://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet#contributing-ov-file
Please reload this pagehttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet
Activityhttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet/activity
0 starshttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet/stargazers
0 watchinghttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet/watchers
0 forkshttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet/forks
Report repository https://patch-diff.githubusercontent.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2FBarry-Williams%2Fpython-cheatsheet&report=Barry-Williams+%28user%29
Releaseshttps://patch-diff.githubusercontent.com/Barry-Williams/python-cheatsheet/releases
Packages 0https://patch-diff.githubusercontent.com/users/Barry-Williams/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.