入门必备!7个Github上的Python练手项目,Star过万,推荐收藏
发布日期:2022/11/22 14:49:26 浏览量:
刚入门python的朋友,想知道自己学的怎么样,但无从入手,怎么办?
推荐试试下面这7个GitHub上的python入门项目或教程,可以帮助你更有效的学习和掌握python。
全文干货,建议收藏。
1. Python
- url: https://github.com/TheAlgorithms/Python
- star: 148000
- fork: 38000
- watch: 5900
用 Python 实现所有算法。该项目是用 Python 语言实现各种算法的集合,主要用于教育和学习。包括搜索、排序、数据结构、机器学习、密码、神经网络等方面。
2. Python-100-Days
- url: https://github.com/jackfrued/Python-100-Days
- star: 127000
- fork: 47000
- watch: 6200
《Python100天从新手到大师》的电子书,作为Python的入门学习资料,学习难度较低。新手也能较快上手学习。
3. learn-python
- url: https://github.com/trekhleb/learn-python
- star: 13000
- fork: 2200
- watch: 724
本免费教程是一份以代码和注释作讲解的Python学习资料。Python所有语法和知识点,都采用了实战代码为例进行讲解,配合注释和参考资料服用,让你快速上手掌握Python基础知识。
此项目既是新手学习Python的资料教程,也是未来回顾知识点时的速查表。
"""WHILE statement@see: https://docs.python.org/3/tutorial/controlflow.html@see: https://docs.python.org/3/reference/compound_stmts.html#the-while-statementThe while loop executes as long as the condition remains true. In Python, like in C, anynon-zero integer value is true; zero is false. The condition may also be a string or listvalue, in fact any sequence; anything with a non-zero length is true, empty sequences arefalse.The test used in the example is a simple comparison. The standard comparison operators arewritten the same as in C: < (less than), > (greater than), == (equal to), <= (less than orequal to), >= (greater than or equal to) and != (not equal to)."""def test_while_statement():"""WHILE statement"""# Let’s raise the number to certain power using while loop.number = 2power = 5result = 1while power > 0:result *= numberpower -= 1# 2^5 = 32assert result == 324. MLAlgorithms
- url: https://github.com/rushter/MLAlgorithms
- star: 9000
- fork: 1600
- watch: 414
常见的机器学习算法,Python 实现:
- Deep learning (MLP, CNN, RNN, LSTM)
- Linear regression, logistic regression
- Random Forests
- Support vector machine (SVM) with kernels (Linear, Poly, RBF)
- K-Means
- 等等
- url: https://github.com/dabeaz-course/practical-python
- star: 8000
- fork: 4800
- watch: 344
作者David Beazley是《Python Cookbook 第三版》、《Python 参考手册》的作者。该开源项目是Python的免费入门级教程,教程经过教学实践,包含课后练习。
教程目录如下:
6. python-small-examples
- url: https://github.com/jackzhenguo/python-small-examples
- star: 7200
- fork: 1700
- watch: 284
Python 有趣实用的代码示例集合。涉及Python的基本操作、函数和模块的常见用法、面向对象、正则、装饰器等知识点。
Python 代码如下:
# pyecharts 绘制水球图示例from pyecharts import options as optsfrom pyecharts.charts import Liquid, Pagefrom pyecharts.globals import SymbolTypedef liquid() -> Liquid:c = (Liquid().add("lq", [0.67, 0.30, 0.15]).set_global_opts(title_opts=opts.TitleOpts(title="Liquid"))return cliquid().render(’./img/liquid.html’)
7. LearnPython
- url: https://github.com/xianhu/LearnPython
- star: 6500
- fork: 3700
- watch: 440
这是一个通过写代码的形式,对Python进行学习的编程项目。针对Python的一些语法特性,力求通过代码对知识点进行解释,同时还得到实践锻炼,通过动手实践对知识融会贯通。
上述这7个Github上的项目希望对你有所帮助。
马上咨询: 如果您有业务方面的问题或者需求,欢迎您咨询!我们带来的不仅仅是技术,还有行业经验积累。
QQ: 39764417/308460098 Phone: 13 9800 1 9844 / 135 6887 9550 联系人:石先生/雷先生