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 技術手冊 第三版
43
3
Python 語言
本章是 Python 語言的入門導引。要從頭開始學習 Python,我們建議你先從
https://www.python.org/about/gettingstarted/
上適當的連結著手,依據你是程
式設計初學者或已有一些程式設計經驗來進行選擇。如果你已經熟知其他
程式語言,只是想要學習 Python 特定的知識,那本章就是專為你設計的。
然而,我們並非要進行 Python 教學:我們會以相當快的步調涵蓋很多東
西。我們把主要重點放在規則(rules),其次才會點出一些最佳實務做法
best practices)和程式風格(style)。至於你的 Python 風格指南(style
guide),就選擇 PEP 8
https://www.python.org/dev/peps/pep-0008/
),還可
以選擇性地參考其他指南,例如 The Hitchhiker
s Guide 的(
http://docs.
python-guide.org/en/latest/writing/style/
)、 CKAN 的(
http://docs.ckan.org/
en/latest/contributing/python.html
)或是Google 的(
https://google.github.io/
styleguide/pyguide.html
)。
語彙結構
程式語言的
語彙結構
lexical structure
是規範你如何以該語言撰寫程式
的一組基本規則。它是程式語言最低階的語法 ...
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