入門(mén)必備!7個(gè)Github上的Python練手項(xiàng)目,Star過(guò)萬(wàn),推薦收藏
發(fā)布日期:2022/11/22 14:49:26 瀏覽量:
剛?cè)腴T(mén)python的朋友,想知道自己學(xué)的怎么樣,但無(wú)從入手,怎么辦?
推薦試試下面這7個(gè)GitHub上的python入門(mén)項(xiàng)目或教程,可以幫助你更有效的學(xué)習(xí)和掌握python。
全文干貨,建議收藏。
1. Python
- url: https://github.com/TheAlgorithms/Python
- star: 148000
- fork: 38000
- watch: 5900
用 Python 實(shí)現(xiàn)所有算法。該項(xiàng)目是用 Python 語(yǔ)言實(shí)現(xiàn)各種算法的集合,主要用于教育和學(xué)習(xí)。包括搜索、排序、數(shù)據(jù)結(jié)構(gòu)、機(jī)器學(xué)習(xí)、密碼、神經(jīng)網(wǎng)絡(luò)等方面。
2. Python-100-Days
- url: https://github.com/jackfrued/Python-100-Days
- star: 127000
- fork: 47000
- watch: 6200
《Python100天從新手到大師》的電子書(shū),作為Python的入門(mén)學(xué)習(xí)資料,學(xué)習(xí)難度較低。新手也能較快上手學(xué)習(xí)。
3. learn-python
- url: https://github.com/trekhleb/learn-python
- star: 13000
- fork: 2200
- watch: 724
本免費(fèi)教程是一份以代碼和注釋作講解的Python學(xué)習(xí)資料。Python所有語(yǔ)法和知識(shí)點(diǎn),都采用了實(shí)戰(zhàn)代碼為例進(jìn)行講解,配合注釋和參考資料服用,讓你快速上手掌握Python基礎(chǔ)知識(shí)。
此項(xiàng)目既是新手學(xué)習(xí)Python的資料教程,也是未來(lái)回顧知識(shí)點(diǎn)時(shí)的速查表。
"""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
常見(jiàn)的機(jī)器學(xué)習(xí)算法,Python 實(shí)現(xiàn):
- 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 參考手冊(cè)》的作者。該開(kāi)源項(xiàng)目是Python的免費(fèi)入門(mén)級(jí)教程,教程經(jīng)過(guò)教學(xué)實(shí)踐,包含課后練習(xí)。
教程目錄如下:
6. python-small-examples
- url: https://github.com/jackzhenguo/python-small-examples
- star: 7200
- fork: 1700
- watch: 284
Python 有趣實(shí)用的代碼示例集合。涉及Python的基本操作、函數(shù)和模塊的常見(jiàn)用法、面向?qū)ο蟆⒄齽t、裝飾器等知識(shí)點(diǎn)。
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
這是一個(gè)通過(guò)寫(xiě)代碼的形式,對(duì)Python進(jìn)行學(xué)習(xí)的編程項(xiàng)目。針對(duì)Python的一些語(yǔ)法特性,力求通過(guò)代碼對(duì)知識(shí)點(diǎn)進(jìn)行解釋,同時(shí)還得到實(shí)踐鍛煉,通過(guò)動(dòng)手實(shí)踐對(duì)知識(shí)融會(huì)貫通。
上述這7個(gè)Github上的項(xiàng)目希望對(duì)你有所幫助。
馬上咨詢: 如果您有業(yè)務(wù)方面的問(wèn)題或者需求,歡迎您咨詢!我們帶來(lái)的不僅僅是技術(shù),還有行業(yè)經(jīng)驗(yàn)積累。
QQ: 39764417/308460098 Phone: 13 9800 1 9844 / 135 6887 9550 聯(lián)系人:石先生/雷先生