Skip to Content
Python 技術手冊 第三版
book

Python 技術手冊 第三版

by lex Martelli, Anna Martelli Ravenscroft, Steve Holden
January 2018
Intermediate to advanced content levelIntermediate to advanced
856 pages
17h 17m
Chinese
GoTop Information, Inc.
Content preview from Python 技術手冊 第三版
24
|
1 章 Python 簡介
從原始碼安裝 Python
要從原始碼安裝 CPython,你需要帶有 ISO 相容 C 編譯器和
make
之類工具的
平台。在 Windows 上,建置 Python 的正常方式是使用 Visual Studio(理
想上要有用於 v2 VS2008
以及
VS2010,或是用於 v3 VS 2015)。
要下載 Python 的原始碼,請拜訪 Python 網站(
https://www.python.org/
),
點擊 Downloads,然後挑選 v2 v3。要找更多選項,將滑鼠指標移往
Downloads 的上方,然後使用浮現的選單。
在標示為「Gzipped source tarball」的連結底下的
.tgz
延伸檔名,等同
.tar.gz
(即一組檔案的
tar
封存檔,再由強大且熱門的
gzip
壓縮器所壓
縮)。另一個選擇是使用標示為「XZ compressed source tarball」的連結,
取得延伸檔名為
.tar.xz
而非
.tgz
的版本,這是以甚至更強大的
xz
壓縮器來
壓縮,如果你有能夠處理 XZ 壓縮格式的工具,就選這個。
Microsoft Windows
Windows 上,從原始碼安裝 Python 可能會是件麻煩事,除非你已經熟
Visual Studio 並且習慣在稱為命令提示列的文字導向視窗中作業。
如果接下來的指示給你帶來麻煩,那就依照前面的「從二進位檔安裝
Python」進行安裝就行了。反正最好還是從二進位檔進行一次個別的安 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

測試驅動開發|使用 Python

測試驅動開發|使用 Python

Harry J.W. Percival
Linux 内核观测技术BPF

Linux 内核观测技术BPF

David Calavera, Lorenzo Fontana

Publisher Resources

ISBN: 9789864766819