買這商品的人也買了...
-
$980$980 -
$450$351 -
$810$770 -
$950$903 -
$520$411 -
$980$833 -
$280$221 -
$490$387 -
$160$152 -
$350$277 -
$780$616 -
$400$360 -
$720$648 -
$580$452 -
$350$277 -
$1,980$1,881 -
$1,700$1,700 -
$500$395 -
$360$281 -
$505零起點 Python 大數據與量化交易
-
$990Deep Learning with TensorFlow (Paperback)
-
$403嵌入式 Linux 編程
-
$480$379 -
$390$308 -
$301笨辦法學 Python 3 (Learn Python 3 the Hard Way: A Very Simple Introduction to the Terrifyingly Beautiful World of Computers and Code)
相關主題
商品描述
<內容簡介>
本書以Python 為樣本,不僅介紹了編程的基本概念,還著重講解了編程語言的範式(面向過程、面向對象、面向函數),並把編程語言的範式糅在Python 中,讓讀者不僅學會Python ,未來在學習其他編程語言時也變得更加容易。
<章節目錄>
第1章用編程改造世界.......................................... ............................ 1
1.1從計算機到編程................ .................................................. ..... 2
1.2所謂的編程,是做什麼的................................... .................... 5
1.3為什麼學Python ......................... .............................................. 8
1.4最簡單的Hello World ............................................... ............. 15
附錄A Python的安裝與運行............................. ......................... 18
附錄B virtualenv ..................... .................................................. ... 21
第2章先做鍵盤俠....................................... .................................... 23
2.1計算機會算術......... .................................................. .............. 24
2.2計算機記性好............................... .......................................... 29
2.3計算機懂選擇... .................................................. .................... 38
2.4計算機能循環......................... ................................................ 44
附錄A小練習............................................... ............................... 48
附錄B代碼規範.............. .................................................. .......... 49
目錄VII
第3章過程大於結果............................... ......................................... 51
3.1懶人炒菜機... .................................................. ........................ 52
3.2參數傳遞...................... .................................................. ......... 59
3.3遞歸...................................... .................................................. . 64
3.4引入那把寶劍........................................... .............................. 69
3.5異常處理................ .................................................. ............... 71
附錄A搜索路徑的設置............................ .................................. 77
附錄B安裝第三方模塊......... .................................................. ... 78
附錄C代碼規範.......................................... ................................ 79
第4章朝思暮想是對象.......... .................................................. ........ 80
4.1輕鬆看對象..................................... ........................................ 81
4.2繼承者們..... .................................................. .......................... 88
4.3那些年,錯過的對象................ ............................................. 92
4.4意想不到的對象................................................. .................... 98
附錄A代碼規範......................... ............................................... 105
第5章對象帶你飛............................................. ............................ 106
5.1存儲................... .................................................. .................. 107
5.2一寸光陰............................ .................................................. . 114
5.3看起來像那樣的東西......................................... .................. 119
5.4 Python有網癮.......................... ............................................. 124
5.5寫一個爬蟲.................................................. ......................... 129
第6章與對象的深入交往................ .............................................. 132
6.1一切皆對象................................................. .......................... 133
6.2屬性管理.................... .................................................. ......... 137
VIII從Python開始學編程
6.3我是風兒,我是沙......................... ...................................... 145
6.4內存管理........ .................................................. ..................... 150
第7章函數式編程...................... .................................................. . 160
7.1又見函數............................................ ................................... 161
7.2被解放的函數......... .................................................. ............ 167
7.3小女子的梳妝匣............................... .................................... 174
7.4高階函數......... .................................................. .................... 182
7.5自上而下........................ .................................................. ..... 189
後記........................................... .................................................. ..... 197