{"id":44769554,"url":"https://github.com/pycollege/python-by-example","last_synced_at":"2026-02-28T18:00:34.426Z","repository":{"id":337671251,"uuid":"1141661355","full_name":"pycollege/python-by-example","owner":"pycollege","description":"A practical, example-driven guide to learning Python with clear explanations and real coding tasks.","archived":false,"fork":false,"pushed_at":"2026-02-10T17:29:13.000Z","size":56,"stargazers_count":51,"open_issues_count":0,"forks_count":1,"subscribers_count":6,"default_branch":"main","last_synced_at":"2026-02-10T21:16:58.041Z","etag":null,"topics":["awesome-python","python","python-book","python-books"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pycollege.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-01-25T07:29:07.000Z","updated_at":"2026-02-10T17:41:49.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/pycollege/python-by-example","commit_stats":null,"previous_names":["pycollege/python-by-example"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/pycollege/python-by-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pycollege%2Fpython-by-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pycollege%2Fpython-by-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pycollege%2Fpython-by-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pycollege%2Fpython-by-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pycollege","download_url":"https://codeload.github.com/pycollege/python-by-example/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pycollege%2Fpython-by-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29946463,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-28T17:57:52.716Z","status":"ssl_error","status_checked_at":"2026-02-28T17:57:31.974Z","response_time":90,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["awesome-python","python","python-book","python-books"],"created_at":"2026-02-16T05:00:26.509Z","updated_at":"2026-02-28T18:00:34.407Z","avatar_url":"https://github.com/pycollege.png","language":"Python","funding_links":[],"categories":["Programming languages"],"sub_categories":["Python"],"readme":"# Python by Example\n\n[Python](https://www.python.org/) is a versatile, readable programming language ideal for beginners and experts alike. Please read the [official documentation](https://docs.python.org/3/) to learn more.\n\n*Python by Example* is a hands-on introduction to Python using annotated example programs. Check out the [first example](lessons/hello-world.md) or browse the full list below.\n\nUnless stated otherwise, examples assume Python 3.10 or later. Try to upgrade to the latest version if something isn't working.\n\n## Table of Contents\n\n### Foundations\n* [Hello World](lessons/hello-world.md)\n* [Values](lessons/values.md)\n* [Variables](lessons/variables.md)\n* [Constants](lessons/constants.md)\n* [For Loops](lessons/for-loops.md)\n* [While Loops](lessons/while-loops.md)\n* [If/Else](lessons/if-else.md)\n* [Match](lessons/match.md)\n* [Break and Continue](lessons/break-and-continue.md)\n\n### Data Structures\n* [Lists](lessons/lists.md)\n* [Slicing](lessons/slicing.md)\n* [Tuples](lessons/tuples.md)\n* [Dictionaries](lessons/dictionaries.md)\n* [Sets](lessons/sets.md)\n\n### Functions\n* [Functions](lessons/functions.md)\n* [Multiple Return Values](lessons/multiple-return-values.md)\n* [Variadic Functions](lessons/variadic-functions.md)\n* [Lambdas](lessons/lambdas.md)\n* [Closures](lessons/closures.md)\n* [Recursion](lessons/recursion.md)\n\n### Iteration and Comprehensions\n* [Range and Enumerate](lessons/range-and-enumerate.md)\n* [Comprehensions](lessons/comprehensions.md)\n\n### Object-Oriented\n* [Classes](lessons/classes.md)\n* [Methods](lessons/methods.md)\n* [Inheritance](lessons/inheritance.md)\n* [Dataclasses](lessons/dataclasses.md)\n* [Enums](lessons/enums.md)\n* [Type Hints](lessons/type-hints.md)\n\n### Error Handling\n* [Exceptions](lessons/exceptions.md)\n* [Custom Exceptions](lessons/custom-exceptions.md)\n\n### Modules and Packages\n* [Modules](lessons/modules.md)\n* [Packages](lessons/packages.md)\n\n### Async\n* [Async Basics](lessons/async-basics.md)\n* [Async Concurrency](lessons/async-concurrency.md)\n* [Async Queues](lessons/async-queues.md)\n\n### Strings and Formatting\n* [Strings](lessons/strings.md)\n* [String Formatting](lessons/string-formatting.md)\n* [Regular Expressions](lessons/regular-expressions.md)\n\n### Data and Serialization\n* [JSON](lessons/json.md)\n* [JSON Files](lessons/json-files.md)\n\n### Date and Time\n* [Time](lessons/time.md)\n* [Time Formatting](lessons/time-formatting.md)\n\n### File I/O\n* [Reading Files](lessons/reading-files.md)\n* [Writing Files](lessons/writing-files.md)\n* [File Paths](lessons/file-paths.md)\n* [Directories](lessons/directories.md)\n* [Temporary Files](lessons/temporary-files.md)\n\n### Command Line\n* [Command-Line Arguments](lessons/command-line-arguments.md)\n* [Argparse](lessons/argparse.md)\n* [Environment Variables](lessons/environment-variables.md)\n\n### Testing and Tooling\n* [Testing](lessons/testing.md)\n* [Logging](lessons/logging.md)\n\n### Networking\n* [HTTP Client](lessons/http-client.md)\n* [HTTP Server](lessons/http-server.md)\n\n### Misc\n* [Random Numbers](lessons/random-numbers.md)\n* [Exit](lessons/exit.md)\n\n---\n\nLicensed under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).\n\nby [Dariush Abbasi](https://github.com/dariubs) | [source](https://github.com/pycollege/python-by-example)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpycollege%2Fpython-by-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpycollege%2Fpython-by-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpycollege%2Fpython-by-example/lists"}