{"id":16903821,"url":"https://github.com/looly/python-basic","last_synced_at":"2025-10-08T07:48:58.355Z","repository":{"id":22165481,"uuid":"25497136","full_name":"looly/python-basic","owner":"looly","description":"老齐（qiwsir）的Python基础教程Gitbook版","archived":false,"fork":false,"pushed_at":"2021-02-20T21:47:45.000Z","size":8206,"stargazers_count":867,"open_issues_count":0,"forks_count":354,"subscribers_count":232,"default_branch":"master","last_synced_at":"2025-05-23T22:05:43.782Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/looly.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-10-21T02:12:23.000Z","updated_at":"2025-05-20T07:57:21.000Z","dependencies_parsed_at":"2022-08-19T23:40:08.771Z","dependency_job_id":null,"html_url":"https://github.com/looly/python-basic","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/looly/python-basic","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/looly%2Fpython-basic","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/looly%2Fpython-basic/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/looly%2Fpython-basic/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/looly%2Fpython-basic/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/looly","download_url":"https://codeload.github.com/looly/python-basic/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/looly%2Fpython-basic/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278909709,"owners_count":26066887,"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","status":"online","status_checked_at":"2025-10-08T02:00:06.501Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-10-13T18:28:54.662Z","updated_at":"2025-10-08T07:48:58.324Z","avatar_url":"https://github.com/looly.png","language":"Python","readme":"![cover](https://raw.githubusercontent.com/looly/python-basic/master/cover_small.jpg)\n# 声明\n\n这个“零基础学Python”并不是我写的，原内容来自于[这里](https://github.com/qiwsir/ITArticles/blob/master/BasicPython/index.md)，我只是将其Github的MarkDown内容整理成了Gitbook格式方便阅读。\n\n我已经联系作者qiwsir，同意我整理，欢迎大家多多支持原作者。\n\n原作者：老齐（qiwsir）\n\n原作者Github：[https://github.com/qiwsir](https://github.com/qiwsir)\n\n我：[Looly](http://www.xiaoleilu.com)\n\n我的Github：[https://github.com/looly](https://github.com/looly)\n\n我的邮箱：loolly@gmail.com\n\n------------------------------------------------\n\n#为什么要开设此栏目\n\n这个栏目的名称叫做“零基础学Python”。\n\n现在网上已经有不少学习python的课程，其中也不乏精品。按理说，不缺少我这个基础类型的课程了。但是，我注意到一个问题，不管是课程还是出版的书，大多数是面向已经有一定编程经验的人写的或者讲的，也就是对这些朋友来讲，python已经不是他们的第一门高级编程语言。据我所知，目前国内很多大学都是将Ｃ之类的做为学生的第一门语言。\n\n然而，在我看来，python是非常适合做为学习高级语言编程的第一门语言的。有一本书，名字叫《与孩子一起学编程》，这本书的定位，是将python定位为学习者学习的第一门高级编程语言。然而，由于读者对象是孩子，很多“成年人”不屑一顾，当然，里面的讲法与“实战”有点距离，导致以“找工作”、“工作需要”为目标的学习者，认为这本书跟自己要学的方向相差甚远。\n\n为了弥补那本书的缺憾，我在这里推出面向成年人——大学生、或者其他想学习程序但是没有任何编程基础的朋友——学习第一门编程高级语言的教程。将Python做为学习高级语言编程的第一门语言，其优势在于：\n\n- 入门容易，避免了其它语言的繁琐。\n- 更接近我们的自然语言和平常的思维方法。\n- 学习完这门语言之后，能够直接“实战”——用在工作上。\n- 学习完这门语言之后，能够顺利理解并学习其它语言。\n- python本身功能强大，一门语言也可以打天下，省却了以后的学习成本。\n\n下面的图示统计显示：Python现在成为美国名校中最流行的编程入门语言。\n\n![](https://camo.githubusercontent.com/564fab8f8af978ff1aa5e477d21a266f240010ec/687474703a2f2f6361636d2e61636d2e6f72672f73797374656d2f6173736574732f303030312f363435312f546f7033392d3730302e322e706e67)\n\n[点击这里看上图来源](https://github.com/qiwsir/ITArticles/blob/master/Python/Python%E7%8E%B0%E5%9C%A8%E6%88%90%E4%B8%BA%E7%BE%8E%E5%9B%BD%E5%90%8D%E6%A0%A1%E4%B8%AD%E6%9C%80%E6%B5%81%E8%A1%8C%E7%9A%84%E7%BC%96%E7%A8%8B%E5%85%A5%E9%97%A8%E8%AF%AD%E8%A8%80.md)\n\n综上，我有了这样一个冲动，做一个栏目，面对零基础要学习Python的朋友，面对将python做为第一门高级语言的朋友。这就是开始本栏目的初衷。\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flooly%2Fpython-basic","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flooly%2Fpython-basic","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flooly%2Fpython-basic/lists"}