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

Python 技術手冊 第三版

by lex Martelli, Anna Martelli Ravenscroft, Steve Holden
January 2018
Intermediate to advanced
856 pages
17h 17m
Chinese
GoTop Information, Inc.
Content preview from Python 技術手冊 第三版
安裝 Jython
|
27
Python
$ cd ~/Py/Python-3.5.2
$ ./configure --prefix=~/py35
接著如前一節的指示執行
make
。一旦你已經完成建置和測試 Python,要實
際安裝所有的檔案,就執行:
$ make install
執行
make install
的使用者必須對目標目錄有寫入權限。取決於你所選
的目標目錄,以及那些目錄的權限,執行
make install
時,你可能需要
使用
su
切換到
root
bin
或其他使用者。用於此目的的一個常見的慣用語
idiom)是
sudo make install
:如果
sudo
提示你輸入密碼,請輸入你目
前使用者的密碼,而非 root 的密碼。一個推薦的替代做法是安裝到虛擬環
境,如後面章節「Python 環境」中所涵蓋的。
安裝 Jython
要下載 Jython,請拜訪 Jython 頁(
http://www.jython.org
)並按下標示
Download
的連結。最新的版本,在本文寫作之時,是 Jython 2.7.0,它
支援 Python 2.7,並以兩個可執行的 JAR 檔案形式提供:一個用來單純執
Jython,另一個用來將它內嵌於 Java 應用程式。依照安裝指示(
https://
wiki.python.org/jython/InstallationInstructions
)來進行安裝。
安裝 IronPython
要安裝 IronPython,你的機器上得有目前的 Common Language ...
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.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

利用 Python 进行数据分析(原书第2版)

利用 Python 进行数据分析(原书第2版)

Wes McKinney

Publisher Resources

ISBN: 9789864766819