| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository |
| route-controller | files |
| route-action | disambiguate |
| fetch-nonce | v2:7558393b-f1b8-e2ec-f8cc-d6180a3870c7 |
| current-catalog-service-hash | f3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb |
| request-id | 8B36:1DF4B8:14B401:1E3DA3:6AFC7346 |
| html-safe-nonce | 54b2ad433991bb270f6f2b3e28150d26bededd0ded73568d9bbb7d9a745262af |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QjM2OjFERjRCODoxNEI0MDE6MUUzREEzOjZBRkM3MzQ2IiwidmlzaXRvcl9pZCI6IjUzNjkxNDcxMzExNDk3MTAxNTAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 5e1dee367b8982c4715839f2d6a25ba108d45930185b2df7398bd82f4e3bc992 |
| hovercard-subject-tag | repository:1310751008 |
| 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/ab85/learn-python |
| twitter:image | https://opengraph.githubassets.com/cb97eeb50473effc223d1c2e4d10d44a33aab173503bc9fbcfe88dceab21b379/ab85/learn-python |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/cb97eeb50473effc223d1c2e4d10d44a33aab173503bc9fbcfe88dceab21b379/ab85/learn-python |
| og:image:alt | 📚 Playground and cheatsheet for learning Python. Collection of Python scripts that are split by topics and contain code examples with explanations. - ab85/learn-python |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | f0400aaa3adebc3df5b3d70984789caaa7772d54ded54da6be732f4f29987fd8 |
| turbo-cache-control | no-cache |
| go-import | github.com/ab85/learn-python git https://github.com/ab85/learn-python.git |
| octolytics-dimension-user_id | 15105461 |
| octolytics-dimension-user_login | ab85 |
| octolytics-dimension-repository_id | 1310751008 |
| octolytics-dimension-repository_nwo | ab85/learn-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | true |
| octolytics-dimension-repository_parent_id | 146619556 |
| octolytics-dimension-repository_parent_nwo | trekhleb/learn-python |
| octolytics-dimension-repository_network_root_id | 146619556 |
| octolytics-dimension-repository_network_root_nwo | trekhleb/learn-python |
| 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 | 582365d64c0339cca0368fed1331a8172e39e9a1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://redirect.github.com/ab85/learn-python#start-of-content |
| https://redirect.github.com/ |
| Sign in | https://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fab85%2Flearn-python |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| 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 |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | 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/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fab85%2Flearn-python |
| Sign up | https://redirect.github.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=ab85%2Flearn-python |
| Reload | https://redirect.github.com/ab85/learn-python |
| Reload | https://redirect.github.com/ab85/learn-python |
| Reload | https://redirect.github.com/ab85/learn-python |
| ab85 | https://redirect.github.com/ab85 |
| learn-python | https://redirect.github.com/ab85/learn-python |
| Code | https://redirect.github.com/ab85/learn-python |
| Pull requests | https://redirect.github.com/ab85/learn-python/pulls |
| Actions | https://redirect.github.com/ab85/learn-python/actions |
| Projects | https://redirect.github.com/ab85/learn-python/projects |
| Security and quality | https://redirect.github.com/ab85/learn-python/security |
| Insights | https://redirect.github.com/ab85/learn-python/pulse |
| https://redirect.github.com/ab85/learn-python |
| learn-python | https://redirect.github.com/ab85/learn-python |
| trekhleb/learn-python | https://redirect.github.com/trekhleb/learn-python |
| Notifications | https://redirect.github.com/login?return_to=%2Fab85%2Flearn-python |
| Fork0 (0) | https://redirect.github.com/login?return_to=%2Fab85%2Flearn-python |
| Star0 (0) | https://redirect.github.com/login?return_to=%2Fab85%2Flearn-python |
| Readme | https://redirect.github.com/ab85/learn-python#readme-ov-file |
| License | https://redirect.github.com/ab85/learn-python#License-1-ov-file |
| Code of conduct | https://redirect.github.com/ab85/learn-python#coc-ov-file |
| Activity | https://redirect.github.com/ab85/learn-python/activity |
| 0 forks | https://redirect.github.com/ab85/learn-python/forks |
| Report repository | https://redirect.github.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2Fab85%2Flearn-python&report=ab85+%28user%29 |
| Branches | https://redirect.github.com/ab85/learn-python/branches |
| Tags | https://redirect.github.com/ab85/learn-python/tags |
| https://redirect.github.com/ab85/learn-python/branches |
| https://redirect.github.com/ab85/learn-python/tags |
| 60 Commits | https://redirect.github.com/ab85/learn-python/commits/master/ |
| https://redirect.github.com/ab85/learn-python/commits/master/ |
| src | https://redirect.github.com/ab85/learn-python/tree/master/src |
| src | https://redirect.github.com/ab85/learn-python/tree/master/src |
| .flake8 | https://redirect.github.com/ab85/learn-python/blob/master/.flake8 |
| .flake8 | https://redirect.github.com/ab85/learn-python/blob/master/.flake8 |
| .gitignore | https://redirect.github.com/ab85/learn-python/blob/master/.gitignore |
| .gitignore | https://redirect.github.com/ab85/learn-python/blob/master/.gitignore |
| .travis.yml | https://redirect.github.com/ab85/learn-python/blob/master/.travis.yml |
| .travis.yml | https://redirect.github.com/ab85/learn-python/blob/master/.travis.yml |
| CODE_OF_CONDUCT.md | https://redirect.github.com/ab85/learn-python/blob/master/CODE_OF_CONDUCT.md |
| CODE_OF_CONDUCT.md | https://redirect.github.com/ab85/learn-python/blob/master/CODE_OF_CONDUCT.md |
| LICENSE | https://redirect.github.com/ab85/learn-python/blob/master/LICENSE |
| LICENSE | https://redirect.github.com/ab85/learn-python/blob/master/LICENSE |
| README.es-ES.md | https://redirect.github.com/ab85/learn-python/blob/master/README.es-ES.md |
| README.es-ES.md | https://redirect.github.com/ab85/learn-python/blob/master/README.es-ES.md |
| README.md | https://redirect.github.com/ab85/learn-python/blob/master/README.md |
| README.md | https://redirect.github.com/ab85/learn-python/blob/master/README.md |
| README.pt-BR.md | https://redirect.github.com/ab85/learn-python/blob/master/README.pt-BR.md |
| README.pt-BR.md | https://redirect.github.com/ab85/learn-python/blob/master/README.pt-BR.md |
| README.uk-UA.md | https://redirect.github.com/ab85/learn-python/blob/master/README.uk-UA.md |
| README.uk-UA.md | https://redirect.github.com/ab85/learn-python/blob/master/README.uk-UA.md |
| README.zh-TW.md | https://redirect.github.com/ab85/learn-python/blob/master/README.zh-TW.md |
| README.zh-TW.md | https://redirect.github.com/ab85/learn-python/blob/master/README.zh-TW.md |
| _config.yml | https://redirect.github.com/ab85/learn-python/blob/master/_config.yml |
| _config.yml | https://redirect.github.com/ab85/learn-python/blob/master/_config.yml |
| pylintrc | https://redirect.github.com/ab85/learn-python/blob/master/pylintrc |
| pylintrc | https://redirect.github.com/ab85/learn-python/blob/master/pylintrc |
| requirements.txt | https://redirect.github.com/ab85/learn-python/blob/master/requirements.txt |
| requirements.txt | https://redirect.github.com/ab85/learn-python/blob/master/requirements.txt |
| README | https://redirect.github.com/ab85/learn-python |
| Code of conduct | https://redirect.github.com/ab85/learn-python |
| License | https://redirect.github.com/ab85/learn-python |
| https://redirect.github.com/ab85/learn-python#playground-and-cheatsheet-for-learning-python |
| IS BEING ATTACKED | https://war.ukraine.ua/ |
| Serhiy Prytula Charity Foundation | https://prytulafoundation.org/en/ |
| Come Back Alive Charity Foundation | https://savelife.in.ua/en/donate-en/ |
| National Bank of Ukraine | https://bank.gov.ua/en/news/all/natsionalniy-bank-vidkriv-spetsrahunok-dlya-zboru-koshtiv-na-potrebi-armiyi |
| war.ukraine.ua | https://war.ukraine.ua/ |
| MFA of Ukraine | https://twitter.com/MFA_Ukraine |
| https://travis-ci.org/trekhleb/learn-python |
| topics | https://redirect.github.com/ab85/learn-python#table-of-contents |
| Português | https://redirect.github.com/ab85/learn-python/blob/master/README.pt-BR.md |
| Español | https://redirect.github.com/ab85/learn-python/blob/master/README.es-ES.md |
| Traditional Chinese | https://redirect.github.com/ab85/learn-python/blob/master/README.zh-TW.md |
| Українська | https://redirect.github.com/ab85/learn-python/blob/master/README.uk-UA.md |
| test it out | https://redirect.github.com/ab85/learn-python#testing-the-code |
| lint the code | https://redirect.github.com/ab85/learn-python#linting-the-code |
| standard Python statements and constructions | https://redirect.github.com/ab85/learn-python#table-of-contents |
| Interactive Machine Learning Experiments | https://github.com/trekhleb/machine-learning-experiments |
| https://redirect.github.com/ab85/learn-python#how-to-use-this-repository |
| Find the topic | https://redirect.github.com/ab85/learn-python#table-of-contents |
| Run tests | https://redirect.github.com/ab85/learn-python#testing-the-code |
| lint the code | https://redirect.github.com/ab85/learn-python#linting-the-code |
| https://redirect.github.com/ab85/learn-python#table-of-contents |
| What is Python | https://redirect.github.com/ab85/learn-python/blob/master/src/getting_started/what_is_python.md |
| Python Syntax | https://redirect.github.com/ab85/learn-python/blob/master/src/getting_started/python_syntax.md |
| Variables | https://redirect.github.com/ab85/learn-python/blob/master/src/getting_started/test_variables.py |
| Arithmetic Operators | https://redirect.github.com/ab85/learn-python/blob/master/src/operators/test_arithmetic.py |
| Bitwise Operators | https://redirect.github.com/ab85/learn-python/blob/master/src/operators/test_bitwise.py |
| Assignment Operators | https://redirect.github.com/ab85/learn-python/blob/master/src/operators/test_assigment.py |
| Comparison Operator | https://redirect.github.com/ab85/learn-python/blob/master/src/operators/test_comparison.py |
| Logical Operators | https://redirect.github.com/ab85/learn-python/blob/master/src/operators/test_logical.py |
| Identity Operators | https://redirect.github.com/ab85/learn-python/blob/master/src/operators/test_identity.py |
| Membership Operators | https://redirect.github.com/ab85/learn-python/blob/master/src/operators/test_membership.py |
| Numbers | https://redirect.github.com/ab85/learn-python/blob/master/src/data_types/test_numbers.py |
| Strings | https://redirect.github.com/ab85/learn-python/blob/master/src/data_types/test_strings.py |
| Lists | https://redirect.github.com/ab85/learn-python/blob/master/src/data_types/test_lists.py |
| Tuples | https://redirect.github.com/ab85/learn-python/blob/master/src/data_types/test_tuples.py |
| Sets | https://redirect.github.com/ab85/learn-python/blob/master/src/data_types/test_sets.py |
| Dictionaries | https://redirect.github.com/ab85/learn-python/blob/master/src/data_types/test_dictionaries.py |
| Type Casting | https://redirect.github.com/ab85/learn-python/blob/master/src/data_types/test_type_casting.py |
| The if statement | https://redirect.github.com/ab85/learn-python/blob/master/src/control_flow/test_if.py |
| The for statement | https://redirect.github.com/ab85/learn-python/blob/master/src/control_flow/test_for.py |
| The while statement | https://redirect.github.com/ab85/learn-python/blob/master/src/control_flow/test_while.py |
| The try statements | https://redirect.github.com/ab85/learn-python/blob/master/src/control_flow/test_try.py |
| The break statement | https://redirect.github.com/ab85/learn-python/blob/master/src/control_flow/test_break.py |
| The continue statement | https://redirect.github.com/ab85/learn-python/blob/master/src/control_flow/test_continue.py |
| Function Definition | https://redirect.github.com/ab85/learn-python/blob/master/src/functions/test_function_definition.py |
| Scopes of Variables Inside Functions | https://redirect.github.com/ab85/learn-python/blob/master/src/functions/test_function_scopes.py |
| Default Argument Values | https://redirect.github.com/ab85/learn-python/blob/master/src/functions/test_function_default_arguments.py |
| Keyword Arguments | https://redirect.github.com/ab85/learn-python/blob/master/src/functions/test_function_keyword_arguments.py |
| Arbitrary Argument Lists | https://redirect.github.com/ab85/learn-python/blob/master/src/functions/test_function_arbitrary_arguments.py |
| Unpacking Argument Lists | https://redirect.github.com/ab85/learn-python/blob/master/src/functions/test_function_unpacking_arguments.py |
| Lambda Expressions | https://redirect.github.com/ab85/learn-python/blob/master/src/functions/test_lambda_expressions.py |
| Documentation Strings | https://redirect.github.com/ab85/learn-python/blob/master/src/functions/test_function_documentation_string.py |
| Function Annotations | https://redirect.github.com/ab85/learn-python/blob/master/src/functions/test_function_annotations.py |
| Function Decorators | https://redirect.github.com/ab85/learn-python/blob/master/src/functions/test_function_decorators.py |
| Class Definition | https://redirect.github.com/ab85/learn-python/blob/master/src/classes/test_class_definition.py |
| Class Objects | https://redirect.github.com/ab85/learn-python/blob/master/src/classes/test_class_objects.py |
| Instance Objects | https://redirect.github.com/ab85/learn-python/blob/master/src/classes/test_instance_objects.py |
| Method Objects | https://redirect.github.com/ab85/learn-python/blob/master/src/classes/test_method_objects.py |
| Class and Instance Variables | https://redirect.github.com/ab85/learn-python/blob/master/src/classes/test_class_and_instance_variables.py |
| Inheritance | https://redirect.github.com/ab85/learn-python/blob/master/src/classes/test_inheritance.py |
| Multiple Inheritance | https://redirect.github.com/ab85/learn-python/blob/master/src/classes/test_multiple_inheritance.py |
| Modules | https://redirect.github.com/ab85/learn-python/blob/master/src/modules/test_modules.py |
| Packages | https://redirect.github.com/ab85/learn-python/blob/master/src/modules/test_packages.py |
| Handling Exceptions | https://redirect.github.com/ab85/learn-python/blob/master/src/exceptions/test_handle_exceptions.py |
| Raising Exceptions | https://redirect.github.com/ab85/learn-python/blob/master/src/exceptions/test_raise_exceptions.py |
| Reading and Writing | https://redirect.github.com/ab85/learn-python/blob/master/src/files/test_file_reading.py |
| Methods of File Objects | https://redirect.github.com/ab85/learn-python/blob/master/src/files/test_file_methods.py |
| The pass statement | https://redirect.github.com/ab85/learn-python/blob/master/src/additions/test_pass.py |
| Generators | https://redirect.github.com/ab85/learn-python/blob/master/src/additions/test_generators.py |
| Serialization | https://redirect.github.com/ab85/learn-python/blob/master/src/standard_libraries/test_json.py |
| File Wildcards | https://redirect.github.com/ab85/learn-python/blob/master/src/standard_libraries/test_glob.py |
| String Pattern Matching | https://redirect.github.com/ab85/learn-python/blob/master/src/standard_libraries/test_re.py |
| Mathematics | https://redirect.github.com/ab85/learn-python/blob/master/src/standard_libraries/test_math.py |
| Dates and Times | https://redirect.github.com/ab85/learn-python/blob/master/src/standard_libraries/test_datetime.py |
| Data Compression | https://redirect.github.com/ab85/learn-python/blob/master/src/standard_libraries/test_zlib.py |
| Terminal input | https://redirect.github.com/ab85/learn-python/blob/master/src/user_input/test_input.py |
| https://redirect.github.com/ab85/learn-python#prerequisites |
| Python3 installed | https://realpython.com/installing-python/ |
| venv | https://docs.python.org/3/library/venv.html |
| https://redirect.github.com/ab85/learn-python#testing-the-code |
| pytest | https://docs.pytest.org/en/latest/ |
| https://redirect.github.com/ab85/learn-python#linting-the-code |
| pylint | http://pylint.pycqa.org/ |
| flake8 | http://flake8.pycqa.org/en/latest/ |
| https://redirect.github.com/ab85/learn-python#pylint |
| PEP 8 | https://www.python.org/dev/peps/pep-0008/ |
| More about PyLint | http://pylint.pycqa.org/ |
| https://redirect.github.com/ab85/learn-python#flake8 |
| PEP 8 | https://www.python.org/dev/peps/pep-0008/ |
| More about Flake8 | http://flake8.pycqa.org/en/latest/ |
| https://redirect.github.com/ab85/learn-python#author |
| @trekhleb | https://trekhleb.dev |
| Readme | https://redirect.github.com/ab85/learn-python#readme-ov-file |
| License | https://redirect.github.com/ab85/learn-python#License-1-ov-file |
| Code of conduct | https://redirect.github.com/ab85/learn-python#coc-ov-file |
| Activity | https://redirect.github.com/ab85/learn-python/activity |
| 0 forks | https://redirect.github.com/ab85/learn-python/forks |
| Report repository | https://redirect.github.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2Fab85%2Flearn-python&report=ab85+%28user%29 |
|
| 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 |