{"id":13870089,"url":"https://github.com/Akuli/python-tutorial","last_synced_at":"2025-07-15T20:31:12.717Z","repository":{"id":37923679,"uuid":"59950284","full_name":"Akuli/python-tutorial","owner":"Akuli","description":"A Python 3 programming tutorial for beginners.","archived":false,"fork":false,"pushed_at":"2024-08-18T17:39:06.000Z","size":2181,"stargazers_count":1389,"open_issues_count":8,"forks_count":607,"subscribers_count":77,"default_branch":"master","last_synced_at":"2024-11-20T03:34:20.266Z","etag":null,"topics":["beginner","beginner-friendly","learn-to-code","learning-python","oop","python","python-3","python-tutorial","tutorial","tutorials"],"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/Akuli.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":"2016-05-29T15:31:22.000Z","updated_at":"2024-11-19T15:15:10.000Z","dependencies_parsed_at":"2024-09-30T23:20:32.642Z","dependency_job_id":null,"html_url":"https://github.com/Akuli/python-tutorial","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Akuli%2Fpython-tutorial","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Akuli%2Fpython-tutorial/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Akuli%2Fpython-tutorial/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Akuli%2Fpython-tutorial/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Akuli","download_url":"https://codeload.github.com/Akuli/python-tutorial/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226068189,"owners_count":17568711,"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","beginner-friendly","learn-to-code","learning-python","oop","python","python-3","python-tutorial","tutorial","tutorials"],"created_at":"2024-08-05T20:01:28.363Z","updated_at":"2024-11-23T16:31:04.881Z","avatar_url":"https://github.com/Akuli.png","language":"Python","readme":"# Python programming tutorial for beginners\n\nThis is a concise Python 3 programming tutorial for people who think\nthat reading is boring. I try to show everything with simple code\nexamples; there are no long and complicated explanations with fancy\nwords. If you have never programmed before click\n[here](basics/what-is-programming.md) to find out what programming is\nlike and get started.\n\nThis tutorial is aimed at people with no programming experience at all\nor very little programming experience. If you have programmed a lot in\nthe past using some other language you may want to read [the official\ntutorial](https://docs.python.org/3/tutorial/) instead.\n\nYou can use Python 3.6 or any newer Python with this tutorial. **Don't\nuse Python 2 because it's no longer supported.**\n\n## List of contents\n\nThe tutorial consists of two sections:\n\n### Basics\n\nThis section will get you started with using Python and you'll be able\nto learn more about whatever you want after studying it.\n\n1. [What is programming?](basics/what-is-programming.md)\n2. [Installing Python](basics/installing-python.md)\n3. [Getting started with Python](basics/getting-started.md)\n4. [ThinkPython: The way of the program](basics/the-way-of-the-program.md)\n5. [Variables, Booleans and None](basics/variables.md)\n6. [Using functions](basics/using-functions.md)\n7. [Setting up an editor](basics/editor-setup.md)\n8. [If, else and elif](basics/if.md)\n9. [Handy stuff with strings](basics/handy-stuff-strings.md)\n10. [Lists and tuples](basics/lists-and-tuples.md)\n11. [Loops](basics/loops.md)\n12. [zip and enumerate](basics/zip-and-enumerate.md)\n13. [Dictionaries](basics/dicts.md)\n14. [Defining functions](basics/defining-functions.md)\n15. [Writing a larger program](basics/larger-program.md)\n16. [What is true?](basics/what-is-true.md)\n17. [Files](basics/files.md)\n18. [Modules](basics/modules.md)\n19. [Exceptions](basics/exceptions.md)\n20. [Classes](basics/classes.md)\n21. [Docstrings](basics/docstrings.md)\n\n### Advanced\n\nIf you want to learn more advanced techniques, you can also read this\nsection. Most of the techniques explained here are great when you're\nworking on a large project, and your code would be really repetitive\nwithout these things.\n\nYou can experiment with these things freely, but please **don't use these\ntechniques just because you know how to use them.** Prefer the simple\ntechniques from the Basics part instead when possible. Simple is better\nthan complex.\n\n1. [Handy data types](advanced/datatypes.md)\n2. [Advanced stuff with functions](advanced/functions.md)\n3. [Magic methods](advanced/magicmethods.md)\n4. [Iterables, iterators and generators](advanced/iters.md)\n\n### Other things this tutorial comes with\n\n- **Important:** [getting help](getting-help.md)\n- [Contact me](contact-me.md)\n- Answers for exercises in [basics](basics/answers.md) and\n    [advanced](advanced/answers.md) sections\n- [The TODO list](TODO.md)\n\n## Frequently asked questions\n\n### How can I thank you for writing and sharing this tutorial?\n\nYou can star this tutorial. Starring is free for you, but it tells me\nand other people that you like this tutorial.\n\nGo [here](https://github.com/Akuli/python-tutorial) if you aren't here\nalready and click the \"Star\" button in the top right corner. You will be\nasked to create a GitHub account if you don't already have one.\n\n### How can I read this tutorial without an Internet connection?\n\n1. Go [here](https://github.com/Akuli/python-tutorial) if you aren't\n    here already.\n2. Click the big green \"Clone or download\" button in the top right of\n    the page, then click \"Download ZIP\".\n\n    ![Download ZIP](images/download-me.png)\n\n3. Extract the ZIP and open it. Unfortunately I don't have any more\n    specific instructions because how exactly this is done depends on\n    which operating system you run.\n4. Run `make-html.py` and follow the instructions.\n\nIf you have git and you know how to use it, you can also clone the\nrepository instead of downloading a zip and extracting it. An advantage\nwith doing it this way is that you don't need to download the whole\ntutorial again to get the latest version of it, all you need to do is to\npull with git and run `make-html.py` again.\n\n## Authors\n\nI'm Akuli and I have written most of this tutorial, but other people have helped me with it.\nSee [github's contributors page](https://github.com/Akuli/python-tutorial/graphs/contributors) for details.\n\n***\n\nIf you have trouble with this tutorial, please\n[tell me about it](./contact-me.md) and I'll make this tutorial better,\nor [ask for help online](./getting-help.md).\nIf you like this tutorial, please [give it a\nstar](./README.md#how-can-i-thank-you-for-writing-and-sharing-this-tutorial).\n\nYou may use this tutorial freely at your own risk. See\n[LICENSE](./LICENSE).\n\n[List of contents](./README.md#list-of-contents)\n","funding_links":[],"categories":["Python","🐍 Python Ecosystem (Python 学习与资源)"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAkuli%2Fpython-tutorial","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FAkuli%2Fpython-tutorial","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAkuli%2Fpython-tutorial/lists"}