
作者:BillLubanovic
页数:597页
出版社:东南大学出版社
出版日期:2020
ISBN:9787564188924
电子书格式:pdf/epub/txt
内容简介
本书内容简单易懂、生动有趣,是面向Python初学者的佳作。本书升级版涵盖了Python的基础知识的大量不错主题,以攻略式风格的代码示例来阐述Python 3的重要知识。每章结尾的练习可以帮你巩固所学的知识。
作者简介
比尔·卢布诺维克(Bill Lubanovic),从1977年开始使用unix开发软件,1981年开始使用GUI,1990年开始使用数据库,1993年开始使用Web。目前,他正在开发用于医学成像的Web数据库服务。
目录
Preface
Part 1.Python Basics
1.ATasteofPy
Mysteries
Little Programs
A Bigger Program
Python in the Real Worid
python Versus the Language from Planet X
Why Python
Why Not Python
Python 2Versus Python 3
Installing python
Running python
Using the Interactive Interpreter
Using python Files
What’s Next
Your Moment ofZen
Comingup
ThingstoDo
2.Data:Types,Values,Variables,and Names
Python Data Are 0bjects
Types
Mutability
Literal Values
Variables
Assignment
Variables Are Names,Not Places
Assigning to Multiple Names
Reassigning a Name
Copying
Choose Good、Variable Names
Coming Up
ThingstoDo
3.Numbers
Booleans
Integers
Literal Integers
Integer Operations
Integers and Variables
Precedence
Bases
Type Conversions
HowBigIs anint
Floats
Math Functions
ComingVp
ThingstoDo
4.Choosewithif
Comment with
Continue Lines with
Compare with if,elif,and else
WhatIsTrue
Do Multiple Comparisons with in
New:IAmtheWalrus
ComingUp
ThingstoDo
5.Text Strings
Create with Quotes
Create with str()
Escapewith
Combine by Using
Duplicate with
Get aCharacterwith
……
6.Loop with while and for
7.Tuples and Lists
8.Dictionaries and Sets
9.Functions
10.Oh Oh:Objects and Classes
11.Modules,Packaties,and Goodies
Part I I.Python in Practice
12.Wrangle and Mangle Data
13.Calendars and Clocks
14.Files and Directories
15.Data in Time:Processes and Concurrency
16.Data in a Box:Persistent Storage
17.Data in Space:Networks
18.The Web,Untangled
19.Be a Pythonista
20.PyArt
21.PyatWork
22.PySci
A.Hardware and Software for Beginning Programmers
B.Install Python 3
C.Something Completely Different:Async
D.Answersto Exercises
E.Cheat Sheets
1ndex
Part 1.Python Basics
1.ATasteofPy
Mysteries
Little Programs
A Bigger Program
Python in the Real Worid
python Versus the Language from Planet X
Why Python
Why Not Python
Python 2Versus Python 3
Installing python
Running python
Using the Interactive Interpreter
Using python Files
What’s Next
Your Moment ofZen
Comingup
ThingstoDo
2.Data:Types,Values,Variables,and Names
Python Data Are 0bjects
Types
Mutability
Literal Values
Variables
Assignment
Variables Are Names,Not Places
Assigning to Multiple Names
Reassigning a Name
Copying
Choose Good、Variable Names
Coming Up
ThingstoDo
3.Numbers
Booleans
Integers
Literal Integers
Integer Operations
Integers and Variables
Precedence
Bases
Type Conversions
HowBigIs anint
Floats
Math Functions
ComingVp
ThingstoDo
4.Choosewithif
Comment with
Continue Lines with
Compare with if,elif,and else
WhatIsTrue
Do Multiple Comparisons with in
New:IAmtheWalrus
ComingUp
ThingstoDo
5.Text Strings
Create with Quotes
Create with str()
Escapewith
Combine by Using
Duplicate with
Get aCharacterwith
……
6.Loop with while and for
7.Tuples and Lists
8.Dictionaries and Sets
9.Functions
10.Oh Oh:Objects and Classes
11.Modules,Packaties,and Goodies
Part I I.Python in Practice
12.Wrangle and Mangle Data
13.Calendars and Clocks
14.Files and Directories
15.Data in Time:Processes and Concurrency
16.Data in a Box:Persistent Storage
17.Data in Space:Networks
18.The Web,Untangled
19.Be a Pythonista
20.PyArt
21.PyatWork
22.PySci
A.Hardware and Software for Beginning Programmers
B.Install Python 3
C.Something Completely Different:Async
D.Answersto Exercises
E.Cheat Sheets
1ndex















