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 技術手冊 第三版
6
|
1 章 Python 簡介
Python 實作
Python 目前有四個產品級的實作(CPythonJythonIronPython
PyPy),以及一個處於早期開發階段的高效能實作 Pyston
https://blogs.
dropbox.com/tech/2014/04/introducing-pyston-anupcoming-jit-based-python-
implementation/
),後者我們並沒有進一步涵蓋。我們也會在接下來的章節
提及幾個較為實驗性的實作。
本書主要針對 CPython,也就是最廣為使用的實作,通常我們會簡單稱之
Python」。然而,一個語言與其實作之間的區別是很重要的。
CPython
傳統的 Python(即 CPython,通常單純稱為 Python)是最新、最穩固且
完整的 Python 產品級實作。它可被視為該語言的「參考實作(reference
implementation)」。 CPython 是一個編譯器、直譯器(interpreter),以及
一組內建的選擇性擴充模組,全都以標準的 C 編寫。CPython 可在其 C
編譯器符合 ISO/IEC 9899:1990 標準的任何平台上使用(也就是所有現
代、流行的平台)。在後面的「安裝」一節中,我們會解說如何下載並
安裝 CPython。本書的所有部分,除了有明確標示的幾節之外,都適用
CPythonCPython 同時支援 v33.5 與之後版本)及 v2(版本 2.7)。 ...
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