Skip to Content
深入淺出程式設計
book

深入淺出程式設計

by David Griffiths, Paul Barry
August 2011
Intermediate to advanced
444 pages
8h 55m
Chinese
GoTop Information, Inc.
Content preview from 深入淺出程式設計
6 第一章
篳路藍縷
建立新的程式檔
第一次開啟 IDLE 時,它會顯示名為 Python ShellPython
殼)的視窗。從 Python Shell File 選單中選取 New Window
項,建 新的 輯視窗 把文 形式的 式碼 入該編 視窗
切便已經準備就緒。
打開 I D L E 3 頁的
程式碼。
這是 IDLE 的
Python Shell。
這是 IDLE 編輯
視窗。
New Window 選項建立
編輯視窗。
IDLE 編輯視窗以彩色的方式
顯示程式碼,這被稱作「語法
突顯」(syntax highlighting)。
務必正確地輸入這裡的程式
碼,也別忘了那些“:”字元。
這是 IDLE 在我們的電腦上的模樣,看起來
或許跟你的有點不一樣。別擔心:無論你
使用的是什麼作業系統,IDLE 的選單系統
與行為應該都一樣。
動動手!
ch01.indd 6 2011/8/6 上午 02:18:20
目前位置 4 7
開始撰碼
準備與執行你的程式碼
F i l e > S a ve
式碼儲存到檔案,為
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

Kubernetes设计模式

Kubernetes设计模式

Bilgin Ibryam, Roland Huß
深入淺出代數

深入淺出代數

Tracey Pilone, Dan Pilone
Kafka权威指南(第2版)

Kafka权威指南(第2版)

Gwen Shapira, Todd Palino, Rajini Sivaram, Krit Petty

Publisher Resources

ISBN: 9789862762691