{"id":17614289,"url":"https://github.com/learnbyexample/100_page_python_intro","last_synced_at":"2025-04-13T04:59:21.199Z","repository":{"id":54134103,"uuid":"324551798","full_name":"learnbyexample/100_page_python_intro","owner":"learnbyexample","description":":snake: Short, introductory guide for the Python programming language :green_book: :zap:","archived":false,"fork":false,"pushed_at":"2024-12-18T04:36:24.000Z","size":6909,"stargazers_count":236,"open_issues_count":0,"forks_count":45,"subscribers_count":10,"default_branch":"main","last_synced_at":"2025-04-13T04:59:14.059Z","etag":null,"topics":["beginner","ebook","exercises","intermediate","learning-by-doing","python"],"latest_commit_sha":null,"homepage":"https://learnbyexample.github.io/100_page_python_intro/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/learnbyexample.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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}},"created_at":"2020-12-26T12:35:37.000Z","updated_at":"2025-04-01T03:10:58.000Z","dependencies_parsed_at":"2025-01-15T21:09:42.263Z","dependency_job_id":"73f271b6-b52c-4940-a588-15ac82db8eec","html_url":"https://github.com/learnbyexample/100_page_python_intro","commit_stats":{"total_commits":15,"total_committers":1,"mean_commits":15.0,"dds":0.0,"last_synced_commit":"47f92dfae336a650849e5598deeb9f37e2d05996"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/learnbyexample%2F100_page_python_intro","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/learnbyexample%2F100_page_python_intro/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/learnbyexample%2F100_page_python_intro/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/learnbyexample%2F100_page_python_intro/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/learnbyexample","download_url":"https://codeload.github.com/learnbyexample/100_page_python_intro/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248665758,"owners_count":21142123,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["beginner","ebook","exercises","intermediate","learning-by-doing","python"],"created_at":"2024-10-22T18:40:05.798Z","updated_at":"2025-04-13T04:59:21.178Z","avatar_url":"https://github.com/learnbyexample.png","language":"Python","readme":"# 100 Page Python Intro\n\nThis book is a short, introductory guide for those already familiar with programming basics. Visit https://youtu.be/aoWJzaSs0cs for a short video about the book.\n\n\u003cp align=\"center\"\u003e\u003cimg src=\"./images/py_intro_ls.png\" alt=\"100 Page Python Intro ebook cover image\" /\u003e\u003c/p\u003e\n\nThe book also includes exercises to test your understanding, which are presented together as a single file in this repo — [Exercises.md](./exercises/Exercises.md).\n\nYou can also use [this interactive TUI app](https://github.com/learnbyexample/TUI-apps/tree/main/PythonExercises) to practice some of the exercises from the book.\n\nSee [Version_changes.md](./Version_changes.md) to keep track of changes made to the book.\n\n\u003cbr\u003e\n\n# E-book\n\n* You can purchase the pdf/epub versions of the book using these links:\n    * https://leanpub.com/100pagepythonintro\n    * https://learnbyexample.gumroad.com/l/100pagepythonintro\n* You can also get the book as part of these bundles:\n    * **All books bundle** bundle from https://leanpub.com/b/learnbyexample-all-books or https://learnbyexample.gumroad.com/l/all-books\n    * **Learn by example Python bundle** from https://leanpub.com/b/python-bundle or https://learnbyexample.gumroad.com/l/python-bundle\n* See https://learnbyexample.github.io/books/ for a list of other books\n\nFor a preview of the book, see [sample chapters](./sample_chapters/100_page_python_intro_sample.pdf).\n\nThe book can also be [viewed as a single markdown file in this repo](./100_page_python_intro.md). See my blogpost on [generating pdf/epub from markdown using pandoc](https://learnbyexample.github.io/customizing-pandoc/) if you are interested in the ebook creation process.\n\nFor the web version of the book, visit https://learnbyexample.github.io/100_page_python_intro/\n\n\u003cbr\u003e\n\n# Testimonials\n\n\u003eIt's very thorough, written with care, and presented in a way that makes sense. Even as an intermediate Python programmer, I found use in this book.\n\u003e\n\u003e — feedback by [Andrew Healey](https://healeycodes.com/) on [Hacker News](https://news.ycombinator.com/item?id=26082464)\n\n\u003cbr\u003e\n\n# Feedback and Contributing\n\n⚠️ ⚠️ Please DO NOT submit pull requests. Main reason being any modification requires changes in multiple places.\n\nI would highly appreciate it if you'd let me know how you felt about this book. It could be anything from a simple thank you, pointing out a typo, mistakes in code snippets, which aspects of the book worked for you (or didn't!) and so on. Reader feedback is essential and especially so for self-published authors.\n\nYou can reach me via:\n\n* Issue Manager: [https://github.com/learnbyexample/100_page_python_intro/issues](https://github.com/learnbyexample/100_page_python_intro/issues)\n* E-mail: `echo 'bGVhcm5ieWV4YW1wbGUubmV0QGdtYWlsLmNvbQo=' | base64 --decode`\n* Twitter: [https://twitter.com/learn_byexample](https://twitter.com/learn_byexample)\n\n\u003cbr\u003e\n\n# Table of Contents\n\n1. Preface\n2. Introduction\n3. Numeric data types\n4. Strings and user input\n5. Defining functions\n6. Control structures\n7. Importing and creating modules\n8. Installing modules and Virtual environments\n9. Exception handling\n10. Debugging\n11. Testing\n12. Tuple and Sequence operations\n13. List\n14. Mutability\n15. Dict\n16. Set\n17. Text processing\n18. Comprehensions and Generator expressions\n19. Dealing with files\n20. Executing external commands\n21. Command line arguments\n\n\u003cbr\u003e\n\n# Acknowledgements\n\n* [Official Python website](https://docs.python.org/3/) — documentation and examples\n* [stackoverflow](https://stackoverflow.com/) and [unix.stackexchange](https://unix.stackexchange.com/) — for getting answers to pertinent questions on Python, Shell and programming in general\n* [/r/learnpython](https://old.reddit.com/r/learnpython) and [/r/learnprogramming](https://old.reddit.com/r/learnprogramming) — helpful forum for beginners\n* [/r/Python/](https://old.reddit.com/r/Python/) — general Python discussion\n* [tex.stackexchange](https://tex.stackexchange.com/) — for help on [pandoc](https://github.com/jgm/pandoc/) and `tex` related questions\n* [canva](https://www.canva.com/) — cover image\n* [oxipng](https://github.com/shssoichiro/oxipng), [pngquant](https://pngquant.org/) and [svgcleaner](https://github.com/RazrFalcon/svgcleaner) — optimizing images\n* [Warning](https://commons.wikimedia.org/wiki/File:Warning_icon.svg) and [Info](https://commons.wikimedia.org/wiki/File:Info_icon_002.svg) icons by [Amada44](https://commons.wikimedia.org/wiki/User:Amada44) under public domain\n* **Dean Clark** and **Elijah** for catching a few typos\n* [mdBook](https://github.com/rust-lang/mdBook) — for web version of the book\n    * [mdBook-pagetoc](https://github.com/JorelAli/mdBook-pagetoc) — for adding table of contents for each chapter\n    * [minify-html](https://github.com/wilsonzlin/minify-html) — for minifying html files\n\n\u003cbr\u003e\n\n# License\n\nThe book is licensed under a [Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License](https://creativecommons.org/licenses/by-nc-sa/4.0/).\n\nThe code snippets are licensed under MIT, see [LICENSE](./LICENSE) file.\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flearnbyexample%2F100_page_python_intro","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flearnbyexample%2F100_page_python_intro","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flearnbyexample%2F100_page_python_intro/lists"}