Enviar búsqueda
Cargar
Python 起步走
•
Descargar como PPTX, PDF
•
3 recomendaciones
•
1,658 vistas
Justin Lin
Seguir
選擇 2.x 還是 3.x? 初識 Python 資源 認識 Python 實作 建立 Python 環境
Leer menos
Leer más
Tecnología
Denunciar
Compartir
Denunciar
Compartir
1 de 26
Descargar ahora
Recomendados
Python 起步走
Python 起步走
Justin Lin
open() 與 io 模組
open() 與 io 模組
Justin Lin
從 REPL 到 IDE
從 REPL 到 IDE
Justin Lin
《Python 3.5 技術手冊》第二章草稿
《Python 3.5 技術手冊》第二章草稿
Justin Lin
Python核心编程(中文 第二版)
Python核心编程(中文 第二版)
yiditushe
1. Python起步走
1. Python起步走
Justin Lin
Python简明教程
Python简明教程
ingong
01.python.开发最佳实践
01.python.开发最佳实践
Na Lee
Recomendados
Python 起步走
Python 起步走
Justin Lin
open() 與 io 模組
open() 與 io 模組
Justin Lin
從 REPL 到 IDE
從 REPL 到 IDE
Justin Lin
《Python 3.5 技術手冊》第二章草稿
《Python 3.5 技術手冊》第二章草稿
Justin Lin
Python核心编程(中文 第二版)
Python核心编程(中文 第二版)
yiditushe
1. Python起步走
1. Python起步走
Justin Lin
Python简明教程
Python简明教程
ingong
01.python.开发最佳实践
01.python.开发最佳实践
Na Lee
简单Pthon教程
简单Pthon教程
junjun chen
Python 进化之路.pptx
Python 进化之路.pptx
Manjusaka1
Python系列3
Python系列3
數真 蔡
Python beginner tutorial
Python beginner tutorial
cri fan
Python First Class
Python First Class
Yao Zuo
用简单语言构建复杂系统
用简单语言构建复杂系统
Leo Zhou
Python meetup 1
Python meetup 1
Vic Yang
第10章 Python计算生态.pptx
第10章 Python计算生态.pptx
edvardarcher
Jupyter 簡介—互動式的筆記本系統
Jupyter 簡介—互動式的筆記本系統
Chengtao Lin
Ready Programmer One
Ready Programmer One
flywindy
Adorable python
Adorable python
Rhythm Sun
Python01
Python01
俊杰 李
Python系列1
Python系列1
數真 蔡
FeatHub_GAIDC_2022.pptx
FeatHub_GAIDC_2022.pptx
Dong Lin
Linux File system
Linux File system
Kenny (netman)
代码代写付款后,我可以临时更改我的订单要求吗?
代码代写付款后,我可以临时更改我的订单要求吗?
nani260565
Learn python 2 - Real World Case
Learn python 2 - Real World Case
Chia-Hao Tsai
Python 于 webgame 的应用
Python 于 webgame 的应用
勇浩 赖
Python intermediate tutorial
Python intermediate tutorial
cri fan
Summary conversatio-python-group-dalian
Summary conversatio-python-group-dalian
wangyuanyi
Ch14 簡介 Spring Boot
Ch14 簡介 Spring Boot
Justin Lin
Ch13 整合 Spring MVC/Security
Ch13 整合 Spring MVC/Security
Justin Lin
Más contenido relacionado
Similar a Python 起步走
简单Pthon教程
简单Pthon教程
junjun chen
Python 进化之路.pptx
Python 进化之路.pptx
Manjusaka1
Python系列3
Python系列3
數真 蔡
Python beginner tutorial
Python beginner tutorial
cri fan
Python First Class
Python First Class
Yao Zuo
用简单语言构建复杂系统
用简单语言构建复杂系统
Leo Zhou
Python meetup 1
Python meetup 1
Vic Yang
第10章 Python计算生态.pptx
第10章 Python计算生态.pptx
edvardarcher
Jupyter 簡介—互動式的筆記本系統
Jupyter 簡介—互動式的筆記本系統
Chengtao Lin
Ready Programmer One
Ready Programmer One
flywindy
Adorable python
Adorable python
Rhythm Sun
Python01
Python01
俊杰 李
Python系列1
Python系列1
數真 蔡
FeatHub_GAIDC_2022.pptx
FeatHub_GAIDC_2022.pptx
Dong Lin
Linux File system
Linux File system
Kenny (netman)
代码代写付款后,我可以临时更改我的订单要求吗?
代码代写付款后,我可以临时更改我的订单要求吗?
nani260565
Learn python 2 - Real World Case
Learn python 2 - Real World Case
Chia-Hao Tsai
Python 于 webgame 的应用
Python 于 webgame 的应用
勇浩 赖
Python intermediate tutorial
Python intermediate tutorial
cri fan
Summary conversatio-python-group-dalian
Summary conversatio-python-group-dalian
wangyuanyi
Similar a Python 起步走
(20)
简单Pthon教程
简单Pthon教程
Python 进化之路.pptx
Python 进化之路.pptx
Python系列3
Python系列3
Python beginner tutorial
Python beginner tutorial
Python First Class
Python First Class
用简单语言构建复杂系统
用简单语言构建复杂系统
Python meetup 1
Python meetup 1
第10章 Python计算生态.pptx
第10章 Python计算生态.pptx
Jupyter 簡介—互動式的筆記本系統
Jupyter 簡介—互動式的筆記本系統
Ready Programmer One
Ready Programmer One
Adorable python
Adorable python
Python01
Python01
Python系列1
Python系列1
FeatHub_GAIDC_2022.pptx
FeatHub_GAIDC_2022.pptx
Linux File system
Linux File system
代码代写付款后,我可以临时更改我的订单要求吗?
代码代写付款后,我可以临时更改我的订单要求吗?
Learn python 2 - Real World Case
Learn python 2 - Real World Case
Python 于 webgame 的应用
Python 于 webgame 的应用
Python intermediate tutorial
Python intermediate tutorial
Summary conversatio-python-group-dalian
Summary conversatio-python-group-dalian
Más de Justin Lin
Ch14 簡介 Spring Boot
Ch14 簡介 Spring Boot
Justin Lin
Ch13 整合 Spring MVC/Security
Ch13 整合 Spring MVC/Security
Justin Lin
Ch12 Spring 起步走
Ch12 Spring 起步走
Justin Lin
Ch11 簡介 JavaMail
Ch11 簡介 JavaMail
Justin Lin
Ch10 Web 容器安全管理
Ch10 Web 容器安全管理
Justin Lin
Ch09 整合資料庫
Ch09 整合資料庫
Justin Lin
Ch08 自訂標籤
Ch08 自訂標籤
Justin Lin
Ch07 使用 JSTL
Ch07 使用 JSTL
Justin Lin
Ch06 使用 JSP
Ch06 使用 JSP
Justin Lin
Ch05 Servlet 進階 API、過濾器與傾聽器
Ch05 Servlet 進階 API、過濾器與傾聽器
Justin Lin
Ch04 會話管理
Ch04 會話管理
Justin Lin
Ch03 請求與回應
Ch03 請求與回應
Justin Lin
Ch02 撰寫與設定 Servlet
Ch02 撰寫與設定 Servlet
Justin Lin
CH1. 簡介 Web 應用程式
CH1. 簡介 Web 應用程式
Justin Lin
14. 進階主題
14. 進階主題
Justin Lin
13.並行、平行與非同步
13.並行、平行與非同步
Justin Lin
12. 除錯、測試與效能
12. 除錯、測試與效能
Justin Lin
11. 常用內建模組
11. 常用內建模組
Justin Lin
10. 資料永續與交換
10. 資料永續與交換
Justin Lin
9. 資料結構
9. 資料結構
Justin Lin
Más de Justin Lin
(20)
Ch14 簡介 Spring Boot
Ch14 簡介 Spring Boot
Ch13 整合 Spring MVC/Security
Ch13 整合 Spring MVC/Security
Ch12 Spring 起步走
Ch12 Spring 起步走
Ch11 簡介 JavaMail
Ch11 簡介 JavaMail
Ch10 Web 容器安全管理
Ch10 Web 容器安全管理
Ch09 整合資料庫
Ch09 整合資料庫
Ch08 自訂標籤
Ch08 自訂標籤
Ch07 使用 JSTL
Ch07 使用 JSTL
Ch06 使用 JSP
Ch06 使用 JSP
Ch05 Servlet 進階 API、過濾器與傾聽器
Ch05 Servlet 進階 API、過濾器與傾聽器
Ch04 會話管理
Ch04 會話管理
Ch03 請求與回應
Ch03 請求與回應
Ch02 撰寫與設定 Servlet
Ch02 撰寫與設定 Servlet
CH1. 簡介 Web 應用程式
CH1. 簡介 Web 應用程式
14. 進階主題
14. 進階主題
13.並行、平行與非同步
13.並行、平行與非同步
12. 除錯、測試與效能
12. 除錯、測試與效能
11. 常用內建模組
11. 常用內建模組
10. 資料永續與交換
10. 資料永續與交換
9. 資料結構
9. 資料結構
Python 起步走
1.
2.
1. Python起步走 • 學習目標 –
選擇 2.x 還是 3.x? – 初識 Python 資源 – 認識 Python 實作 – 建立 Python 環境 2
3.
Python 3的誕生 • 2008
年 12 月 3 日,新出爐的 Python 3.0 (也被稱為 Python 3000 或 Py3K) • 包含了許多人引頸期盼的新功能 • 其他語法與程式庫方面的變更,也破壞了 向後相容性 • 許多基於 Python 2.x 的程式,無法直接在 Python 3.0 的環境中運行 3
4.
• Python 3.0
演進的指導原則 – 將處理事情的老方法移除,以減少特性的重複 – 做事時應該只有一種(也許也是唯一)明確的 方式」之條目 4
5.
• 我要學 Python
3,還是 Python 2? – 在 Python 3.0 剛釋出沒多久的那段日子裏,答 案通常會是「學習 Python 2.x,因為許多程式 庫還不支援!」 – 許多介紹 Python 的入門文件或書藉,也不得 不同時介紹 Python 2 與 3 兩個版本 – 「2to3」也不能發現所有的問題 5
6.
從Python 3.0到3.7 • 官方的推動 6
7.
• Python 2
可以試著from __future__ import想使用的模組 • 〈Python2orPython3〉整理了許多相容轉 換的相關資源 – Python 3.0 的一些較不具破壞性的特性,回饋 (backport)到 Python 2.6 之中 – Python 3.1 的特性,回饋到了 Python 2.7 之 中 7
8.
• 回饋也會反過來從 2.x
至 3.x – 在 Python 3.3 中又支援了 u'foo' 來表示 unicode 字串,b'foo'來表示 byte 字串 • 相容性同時在 2.x 與 3.x 之間前進著,試著 讓語法有更多交集。 • Python 3.x 本身也不斷地吸納社群經驗 – Python 3.3 中包含了 venv 模組 – Python 3.4 本身就包含了 pip – Python 3.5 納入了 Type hints – Python 3.6進一步加強了Type hints、新增了 格式化字串常量 – Python 3.7在效能上做了很大的改進 8
9.
社群的接納 • 許多基於 Python
2.x 的程式庫或框架,這 段期間一直不斷地往 Python 3.x 遷移 – Django – Numpy – SciPy • 〈PYTHON 3 WALL OF SUPERPOWERS〉 – python3wos.appspot.com 9
10.
• 新系統要開發時,究竟要基於 Python
2.x 或Python 3.x? – 建立良好的程式碼慣例 – 社群中還有著 six 這類的套件,可以寫出相容 2.7 和 3.x 的程式碼基礎 six 10
11.
• Python 2.7
是 Python 2 的最後一個版本 (不會再有 Python 2.8了),且預計僅支 援至 2020 年 • 作業系統也開始進行相對應的處理動作 – Linux 目前多半同時預載了 Python 2.x 與 3.x 11
12.
• 我要學習 Python
2.x 還是 Python 3.x? • 作個全面性的調查 – 就像在選擇一門語言,或者是調查某個程式庫 是否可以採用時,必須有著諸多考量,像是瞭 解其更新(Update)的時間、修改記錄 (Changelog)、修正問題(Issue)的速率、 作者身份等。 12
13.
• 我要學習 Python
2.x 還是 Python 3.x? • 學習 Python 來說,可以先學 Python 3.x, 因為有了 Python 3.x 的基礎,將來若有必 要面對與學習 Python 2.x,並不會是件難 事 13
14.
初識社群資源 • Python 之父
Guido van Rossum – 首位享有 BDFL 封號的開放原始碼軟體創建者 – 對社群仍持續關注,在必要時能針對社群中的意見 與爭議提出想法與做出最後裁決 – 2018年7月12日宣布,永久卸下 BDFL 身份 • Python 軟體基金會 – Python Software Foundation,常簡稱為 PSF – 推廣、維護與促進 Python 程式語言的發展,同時 也支持協助全球各地各式各樣 Python 程式設計師 與社群的成長 – 非營利組織,持有 Python 程式語言背後的智慧財 產權 14
15.
• Python改進提案 – Python
Enhancement Proposals,常簡稱為 PEPs – Python 的改進多是由PEP流程主導 – PEP 流程會收集來自社群的意見,為將來打算 加入 Python 的新特性提出文件提案 – 重要的 PEP 會經由社群與 Guido 審閱與評估, 決定是否成為正式的 PEP 文件 15
16.
16
17.
• Python 研討會 –
如果想要知道各地的研討會資訊,可 – 以從 PyCon 網站(www.pycon.org )開始 – 〈"PyCon Taiwan" in Taiwan〉可以看到台灣 Python 社群關注的重要研討會訊息 • Python 使用者群組 – PyTUG Wiki(台灣Python 使用者群組Wiki 網站) – PyTUG Groups(台灣Python 使用者群組論譠) – PyHUG Meetups(新竹Python 使用者群組) – Taipei.py Meetups(台北Python 使用者群組) – Tainan.py Meetups(台南Python 使用者群組) 17
18.
Python 的實作 • CPython –
Python 官方的參考實作 – 以C 撰寫的實作品 – 提供與 Python 套件(Package)與 C 擴充模 組的最高相容性 • PyPy – 使用 RPython(Restricted Python)來實現 – 目的在改進 Python 程式的執行效能,同時追 求與 CPython 的最大相容性 18
19.
• Jython – 用
Java 實現的 Python – 能匯入、取用 Java 的相關程式庫,因而得以運 用 Java 領域中的各式資源 • IronPython – 可與 .NET 平台結合的 Python 開放原始碼實現 19
20.
下載與安裝 Python 3.7 20
21.
21
22.
22
23.
23
24.
認識安裝內容 24
25.
25
26.
26
Descargar ahora