| route-pattern | /:user_id/:repository |
| route-controller | files |
| route-action | disambiguate |
| fetch-nonce | v2:a6e283a8-3071-7672-fe23-796e37bc567c |
| current-catalog-service-hash | f3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb |
| request-id | C7EE:881FC:5C33E2:7B1CD7:69730F5C |
| html-safe-nonce | 7a7cfafa393f2b14afcec6cdb07ec900e7db5dd9805065356436b42cbc6142b4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDN0VFOjg4MUZDOjVDMzNFMjo3QjFDRDc6Njk3MzBGNUMiLCJ2aXNpdG9yX2lkIjoiMTExMTk5MjcxNDMxMzAxMTAzNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | dc931a79504c6991549514d764817cdc3db26f7258a088f415504f75d39472bb |
| hovercard-subject-tag | repository:197860140 |
| github-keyboard-shortcuts | repository,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | // |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/wpyoung/python-cheatsheet |
| twitter:image | https://opengraph.githubassets.com/c1860b29aef367fec298c812abaa8e3a6efc963b8896fc324ecad40b6bf29b5d/wpyoung/python-cheatsheet |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c1860b29aef367fec298c812abaa8e3a6efc963b8896fc324ecad40b6bf29b5d/wpyoung/python-cheatsheet |
| og:image:alt | Basic Cheat Sheet for Python (PDF, Markdown and Jupyter Notebook) - wpyoung/python-cheatsheet |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 44ab3188c1dcfe3be0f9c3feca2e04e14fb79f120939ce2395e4f15ab96ec1d4 |
| turbo-cache-control | no-preview |
| go-import | github.com/wpyoung/python-cheatsheet git https://github.com/wpyoung/python-cheatsheet.git |
| octolytics-dimension-user_id | 30941735 |
| octolytics-dimension-user_login | wpyoung |
| octolytics-dimension-repository_id | 197860140 |
| octolytics-dimension-repository_nwo | wpyoung/python-cheatsheet |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | true |
| octolytics-dimension-repository_parent_id | 118820677 |
| octolytics-dimension-repository_parent_nwo | labex-labs/python-cheatsheet |
| octolytics-dimension-repository_network_root_id | 118820677 |
| octolytics-dimension-repository_network_root_nwo | labex-labs/python-cheatsheet |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | a5e2b48bd1260476599758f5d253b5d24092ab84 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://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 AI | https://github.com/features/copilot |
| GitHub SparkBuild and deploy intelligent apps | https://github.com/features/spark |
| GitHub ModelsManage and compare prompts | https://github.com/features/models |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://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 |
| Reload | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet |
| Reload | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet |
| Reload | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet |
|
wpyoung
| https://patch-diff.githubusercontent.com/wpyoung |
| python-cheatsheet | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet |
| labex-labs/python-cheatsheet | https://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.org | https://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 |
| Branches | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet/branches |
| Tags | https://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 Commits | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet/commits/master/ |
| https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet/commits/master/ |
| blog_files | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet/tree/master/blog_files |
| blog_files | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet/tree/master/blog_files |
| jupyter_notebooks | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet/tree/master/jupyter_notebooks |
| jupyter_notebooks | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet/tree/master/jupyter_notebooks |
| markdown | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet/tree/master/markdown |
| markdown | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet/tree/master/markdown |
| .gitignore | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet/blob/master/.gitignore |
| .gitignore | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet/blob/master/.gitignore |
| CODE_OF_CONDUCT.md | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet/blob/master/CODE_OF_CONDUCT.md |
| CODE_OF_CONDUCT.md | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet/blob/master/CODE_OF_CONDUCT.md |
| CONTRIBUTING.md | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet/blob/master/CONTRIBUTING.md |
| CONTRIBUTING.md | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet/blob/master/CONTRIBUTING.md |
| LICENSE | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet/blob/master/LICENSE |
| LICENSE | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet/blob/master/LICENSE |
| README.md | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet/blob/master/README.md |
| README.md | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet/blob/master/README.md |
| poetry.lock | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet/blob/master/poetry.lock |
| poetry.lock | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet/blob/master/poetry.lock |
| pyproject.toml | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet/blob/master/pyproject.toml |
| pyproject.toml | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet/blob/master/pyproject.toml |
| python_cheat_sheet.pdf | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet/blob/master/python_cheat_sheet.pdf |
| python_cheat_sheet.pdf | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet/blob/master/python_cheat_sheet.pdf |
| README | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet |
| Code of conduct | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet |
| Contributing | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet |
| MIT license | https://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 Python | https://automatetheboringstuff.com/ |
| Creative Commons license | https://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 |
| Website | https://www.pythoncheatsheet.org |
| Github | https://github.com/wilfredinni/python-cheatsheet |
| PDF | https://github.com/wilfredinni/Python-cheatsheet/raw/master/python_cheat_sheet.pdf |
| Jupyter Notebook | https://mybinder.org/v2/gh/wilfredinni/python-cheatsheet/master?filepath=jupyter_notebooks |
| https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet |
| The Zen of Python | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#the-zen-of-python |
| Python Basics | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-basics |
| Math Operators | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#math-operators |
| Data Types | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#data-types |
| String Concatenation and Replication | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#string-concatenation-and-replication |
| Variables | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#variables |
| Comments | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#comments |
| The print() Function | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#the-print-function |
| The input() Function | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#the-input-function |
| The len() Function | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#the-len-function |
| The str(), int(), and float() Functions | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#the-str-int-and-float-functions |
| Flow Control | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#flow-control |
| Comparison Operators | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#comparison-operators |
| Boolean evaluation | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#boolean-evaluation |
| Boolean Operators | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#boolean-operators |
| Mixing Boolean and Comparison Operators | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#mixing-boolean-and-comparison-operators |
| if Statements | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#if-statements |
| else Statements | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#else-statements |
| elif Statements | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#elif-statements |
| while Loop Statements | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#while-loop-statements |
| break Statements | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#break-statements |
| continue Statements | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#continue-statements |
| for Loops and the range() Function | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#for-loops-and-the-range-function |
| For else statement | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#for-else-statement |
| Importing Modules | https://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 |
| Functions | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#functions |
| Return Values and return Statements | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#return-values-and-return-statements |
| The None Value | https://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 Scope | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#local-and-global-scope |
| The global Statement | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#the-global-statement |
| Exception Handling | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#exception-handling |
| Basic exception handling | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#basic-exception-handling |
| Final code in exception handling | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#final-code-in-exception-handling |
| Lists | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#lists |
| Getting Individual Values in a List with Indexes | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#getting-individual-values-in-a-list-with-indexes |
| Negative Indexes | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#negative-indexes |
| Getting Sublists with Slices | https://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 Indexes | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#changing-values-in-a-list-with-indexes |
| List Concatenation and List Replication | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#list-concatenation-and-list-replication |
| Removing Values from Lists with del Statements | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#removing-values-from-lists-with-del-statements |
| Using for Loops with Lists | https://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 Operators | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#the-in-and-not-in-operators |
| The Multiple Assignment Trick | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#the-multiple-assignment-trick |
| Augmented Assignment Operators | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#augmented-assignment-operators |
| Finding a Value in a List with the index() Method | https://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() Methods | https://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() Method | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#sorting-the-values-in-a-list-with-the-sort-method |
| Tuple Data Type | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#tuple-data-type |
| Converting Types with the list() and tuple() Functions | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#converting-types-with-the-list-and-tuple-functions |
| Dictionaries and Structuring Data | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#dictionaries-and-structuring-data |
| The keys(), values(), and items() Methods | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#the-keys-values-and-items-methods |
| Checking Whether a Key or Value Exists in a Dictionary | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#checking-whether-a-key-or-value-exists-in-a-dictionary |
| The get() Method | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#the-get-method |
| The setdefault() Method | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#the-setdefault-method |
| Pretty Printing | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#pretty-printing |
| Merge two dictionaries | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#merge-two-dictionaries |
| sets | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#sets |
| Initializing a set | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#initializing-a-set |
| sets: unordered collections of unique elements | https://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 intersection | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#set-intersection |
| set difference | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#set-difference |
| set symetric_difference | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#set-symetricdifference |
| itertools Module | https://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 |
| Comprehensions | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#comprehensions |
| List comprehension | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#list-comprehension |
| Set comprehension | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#set-comprehension |
| Dict comprehension | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#dict-comprehension |
| Manipulating Strings | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#manipulating-strings |
| Escape Characters | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#escape-characters |
| Raw Strings | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#raw-strings |
| Multiline Strings with Triple Quotes | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#multiline-strings-with-triple-quotes |
| Indexing and Slicing Strings | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#indexing-and-slicing-strings |
| The in and not in Operators with Strings | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#the-in-and-not-in-operators-with-strings |
| The in and not in Operators with list | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#the-in-and-not-in-operators-with-list |
| The upper(), lower(), isupper(), and islower() String Methods | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#the-upper-lower-isupper-and-islower-string-methods |
| The isX String Methods | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#the-isx-string-methods |
| The startswith() and endswith() String Methods | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#the-startswith-and-endswith-string-methods |
| The join() and split() String Methods | https://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 Formatting | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#string-formatting |
| % operator | https://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 formatting | https://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 Strings | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#template-strings |
| Regular Expressions | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#regular-expressions |
| Matching Regex Objects | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#matching-regex-objects |
| Grouping with Parentheses | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#grouping-with-parentheses |
| Matching Multiple Groups with the Pipe | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#matching-multiple-groups-with-the-pipe |
| Optional Matching with the Question Mark | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#optional-matching-with-the-question-mark |
| Matching Zero or More with the Star | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#matching-zero-or-more-with-the-star |
| Matching One or More with the Plus | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#matching-one-or-more-with-the-plus |
| Matching Specific Repetitions with Curly Brackets | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#matching-specific-repetitions-with-curly-brackets |
| Greedy and Nongreedy Matching | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#greedy-and-nongreedy-matching |
| The findall() Method | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#the-findall-method |
| Making Your Own Character Classes | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#making-your-own-character-classes |
| The Caret and Dollar Sign Characters | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#the-caret-and-dollar-sign-characters |
| The Wildcard Character | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#the-wildcard-character |
| Matching Everything with Dot-Star | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#matching-everything-with-dot-star |
| Matching Newlines with the Dot Character | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#matching-newlines-with-the-dot-character |
| Review of Regex Symbols | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#review-of-regex-symbols |
| Case-Insensitive Matching | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#case-insensitive-matching |
| Substituting Strings with the sub() Method | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#substituting-strings-with-the-sub-method |
| Managing Complex Regexes | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#managing-complex-regexes |
| Handling File and Directory Paths | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#handling-file-and-directory-paths |
| Backslash on Windows and Forward Slash on OS X and Linux | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#backslash-on-windows-and-forward-slash-on-os-x-and-linux |
| The Current Working Directory | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#the-current-working-directory |
| Creating New Folders | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#creating-new-folders |
| Absolute vs. Relative Paths | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#absolute-vs-relative-paths |
| Handling Absolute and Relative Paths | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#handling-absolute-and-relative-paths |
| Checking Path Validity | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#checking-path-validity |
| Finding File Sizes and Folder Contents | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#finding-file-sizes-and-folder-contents |
| Copying Files and Folders | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#copying-files-and-folders |
| Moving and Renaming Files and Folders | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#moving-and-renaming-files-and-folders |
| Permanently Deleting Files and Folders | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#permanently-deleting-files-and-folders |
| Safe Deletes with the send2trash Module | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#safe-deletes-with-the-send2trash-module |
| Walking a Directory Tree | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#walking-a-directory-tree |
| Reading and Writing Files | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#reading-and-writing-files |
| The File Reading/Writing Process | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#the-file-readingwriting-process |
| Opening and reading files with the open() function | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#opening-and-reading-files-with-the-open-function |
| Writing to Files | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#writing-to-files |
| Saving Variables with the shelve Module | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#saving-variables-with-the-shelve-module |
| Saving Variables with the pprint.pformat() Function | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#saving-variables-with-the-pprintpformat-function |
| Reading ZIP Files | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#reading-zip-files |
| Extracting from ZIP Files | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#extracting-from-zip-files |
| Creating and Adding to ZIP Files | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#creating-and-adding-to-zip-files |
| JSON, YAML and configuration files | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#json-yaml-and-configuration-files |
| JSON | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#json |
| YAML | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#yaml |
| Anyconfig | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#anyconfig |
| Debugging | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#debugging |
| Raising Exceptions | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#raising-exceptions |
| Getting the Traceback as a String | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#getting-the-traceback-as-a-string |
| Assertions | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#assertions |
| Logging | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#logging |
| Logging Levels | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#logging-levels |
| Disabling Logging | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#disabling-logging |
| Logging to a File | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#logging-to-a-file |
| Lambda Functions | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#lambda-functions |
| Ternary Conditional Operator | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#ternary-conditional-operator |
| args and kwargs | https://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 Manager | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#context-manager |
| with statement | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#with-statement |
| Writing your own contextmanager using generator syntax | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#writing-your-own-contextmanager-using-generator-syntax |
| __main__ Top-level script environment | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#main-top-level-script-environment |
| Advantages | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#advantages |
| setup.py | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#setuppy |
| Dataclasses | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#dataclasses |
| Features | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#features |
| Default values | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#default-values |
| Type hints | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#type-hints |
| Virtual Environment | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#virtual-environment |
| virtualenv | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#virtualenv |
| poetry | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#poetry |
| pipenv | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#pipenv |
| anaconda | https://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 Python | https://www.python.org/dev/peps/pep-0020/ |
| Return to the Top | https://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 Top | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet |
| https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#data-types |
| Return to the Top | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet |
| https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#string-concatenation-and-replication |
| Return to the Top | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet |
| https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#variables |
| Return to the Top | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet |
| https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#comments |
| Return to the Top | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet |
| https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#the-print-function |
| Return to the Top | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet |
| https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#the-input-function |
| Return to the Top | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet |
| https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#the-len-function |
| Return to the Top | https://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 Top | https://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 Top | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet |
| https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#boolean-operators |
| Return to the Top | https://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 Top | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet |
| https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#if-statements |
| Return to the Top | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet |
| https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#else-statements |
| Return to the Top | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet |
| https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#elif-statements |
| Return to the Top | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet |
| https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#while-loop-statements |
| Return to the Top | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet |
| https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#break-statements |
| Return to the Top | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet |
| https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#continue-statements |
| Return to the Top | https://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 Top | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet |
| https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#importing-modules |
| Return to the Top | https://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 Top | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet |
| https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#functions |
| Return to the Top | https://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 Top | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet |
| https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#the-none-value |
| Return to the Top | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet |
| https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#keyword-arguments-and-print |
| Return to the Top | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet |
| https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#local-and-global-scope |
| Return to the Top | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet |
| https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#the-global-statement |
| Return to the Top | https://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 Top | https://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 Top | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet |
| https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#lists |
| Return to the Top | https://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 Top | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet |
| https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#negative-indexes |
| Return to the Top | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet |
| https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#getting-sublists-with-slices |
| Return to the Top | https://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 Top | https://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 Top | https://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 Top | https://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 Top | https://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 Top | https://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 Top | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet |
| https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#the-multiple-assignment-trick |
| Return to the Top | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet |
| https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#augmented-assignment-operators |
| Return to the Top | https://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 Top | https://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 Top | https://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 Top | https://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 Top | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet |
| https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#tuple-data-type |
| Return to the Top | https://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 Top | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet |
| https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#dictionaries-and-structuring-data |
| Return to the Top | https://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 Top | https://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 Top | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet |
| https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#the-get-method |
| Return to the Top | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet |
| https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#the-setdefault-method |
| Return to the Top | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet |
| https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#pretty-printing |
| Return to the Top | https://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 |
| documentation | https://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 Top | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet |
| https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#itertools-module |
| lists | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#lists |
| dictionaries | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#dictionaries-and-structuring-data |
| Python 3.x documentation | https://docs.python.org/3/library/itertools.html |
| operator | https://docs.python.org/3/library/operator.html |
| Return to the Top | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet |
| https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#accumulate |
| Return to the Top | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet |
| https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#combinations |
| Return to the Top | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet |
| https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#combinations_with_replacement |
| Return to the Top | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet |
| https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#count |
| Return to the Top | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet |
| https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#cycle |
| Return to the Top | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet |
| https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#chain |
| Return to the Top | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet |
| https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#compress |
| Return to the Top | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet |
| https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#dropwhile |
| Return to the Top | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet |
| https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#filterfalse |
| Return to the Top | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet |
| https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#groupby |
| Return to the Top | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet |
| https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#islice |
| Return to the Top | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet |
| https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#permutations |
| Return to the Top | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet |
| https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#product |
| Return to the Top | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet |
| https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#repeat |
| Return to the Top | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet |
| https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#starmap |
| Return to the Top | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet |
| https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#takewhile |
| Return to the Top | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet |
| https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#tee |
| Return to the Top | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet |
| https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#zip_longest |
| Return to the Top | https://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 Top | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet |
| https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#raw-strings |
| Return to the Top | https://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 Top | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet |
| https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#indexing-and-slicing-strings |
| Return to the Top | https://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 Top | https://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 Top | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet |
| https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#the-isx-string-methods |
| Return to the Top | https://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 Top | https://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 Top | https://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 Top | https://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 Top | https://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 Top | https://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.format | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#string-formatting-strformat |
| f-strings | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#formatted-string-literals-or-f-strings-python-36 |
| Return to the Top | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet |
| https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#string-formatting-strformat |
| Python 3.x documentation | https://docs.python.org/3/library/stdtypes.html?highlight=sprintf#printf-style-string-formatting |
| Return to the Top | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet |
| https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#lazy-string-formatting |
| Return to the Top | https://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 Top | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet |
| https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#template-strings |
| Return to the Top | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet |
| https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#regular-expressions |
| Return to the Top | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet |
| https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#matching-regex-objects |
| Return to the Top | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet |
| https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#grouping-with-parentheses |
| Return to the Top | https://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 Top | https://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 Top | https://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 Top | https://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 Top | https://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 Top | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet |
| https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#greedy-and-nongreedy-matching |
| Return to the Top | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet |
| https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#the-findall-method |
| Return to the Top | https://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 Top | https://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 Top | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet |
| https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#the-wildcard-character |
| Return to the Top | https://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 Top | https://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 Top | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet |
| https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#review-of-regex-symbols |
| Return to the Top | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet |
| https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#case-insensitive-matching |
| Return to the Top | https://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 Top | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet |
| https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#managing-complex-regexes |
| Return to the Top | https://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 Top | https://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 Top | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet |
| https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#the-current-working-directory |
| Return to the Top | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet |
| https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#creating-new-folders |
| Return to the Top | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet |
| https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#absolute-vs-relative-paths |
| Return to the Top | https://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 Top | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet |
| https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#checking-path-validity |
| Return to the Top | https://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 Top | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet |
| https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#copying-files-and-folders |
| Return to the Top | https://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 Top | https://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 Top | https://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 Top | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet |
| https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#walking-a-directory-tree |
| Return to the Top | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet |
| official documentation | https://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 Top | https://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 Top | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet |
| https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#writing-to-files |
| Return to the Top | https://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 Top | https://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 Top | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet |
| https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#reading-zip-files |
| Return to the Top | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet |
| https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#extracting-from-zip-files |
| Return to the Top | https://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 Top | https://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 Top | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet |
| https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#yaml |
| PyYaml | https://pypi.python.org/pypi/PyYAML |
| Ruamel.yaml | https://pypi.python.org/pypi/ruamel.yaml |
| Return to the Top | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet |
| https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#anyconfig |
| Anyconfig | https://pypi.python.org/pypi/anyconfig |
| Return to the Top | https://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 Top | https://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 Top | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet |
| https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#assertions |
| Return to the Top | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet |
| https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#logging |
| Return to the Top | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet |
| https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#logging-levels |
| Return to the Top | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet |
| https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#disabling-logging |
| Return to the Top | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet |
| https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#logging-to-a-file |
| Return to the Top | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet |
| https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#lambda-functions |
| Return to the Top | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet |
| https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#ternary-conditional-operator |
| Return to the Top | https://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 Top | https://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 Top | https://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 Top | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet |
| https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#setuppy |
| http://docs.python.org/install/index.html | http://docs.python.org/install/index.html |
| Return to the Top | https://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 Top | https://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 Top | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet |
| https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#virtual-environment |
| Return to the Top | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet |
| https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#virtualenv |
| Return to the Top | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet |
| https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#poetry |
| Poetry | https://poetry.eustace.io/ |
| documentation | https://poetry.eustace.io/docs/ |
| Return to the Top | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet |
| https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#pipenv |
| Pipenv | https://pipenv.readthedocs.io/en/latest/ |
| docs.pipenv.org | https://docs.pipenv.org/ |
| Return to the Top | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet |
| https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#anaconda |
| Anaconda | https://anaconda.org/ |
| Return to the Top | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet#python-cheatsheet |
| www.pythoncheatsheet.org | https://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 page | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet |
|
Activity | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet/activity |
|
0
stars | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet/stargazers |
|
0
watching | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet/watchers |
|
0
forks | https://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 |
| Releases | https://patch-diff.githubusercontent.com/wpyoung/python-cheatsheet/releases |
| Packages
0 | https://patch-diff.githubusercontent.com/users/wpyoung/packages?repo_name=python-cheatsheet |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |