点击选择搜索分类
首页 - 影视文学- 正文
☆☆☆☆☆
||
Bill Lubanovic 著
出版社: 东南大学出版社 ISBN:9787564159139 版次:1 商品编码:11789223 包装:平装 外文名称:Introducing Python 开本:16开 出版时间:2015-09-01 用纸:胶版纸 页数:454 字数:588000 正文语种:英文
《Python入门(影印版 英文版)》章节末尾还有练习题帮助你练习刚刚学过的内容。
你将为这门语言打下坚实的基础,包括测试、调试、代码复用和其他开发技巧的实践。
《Python入门(影印版 英文版)》将向你展示如何通过各种工具和开源代码包,将Python应用于商业、科学和艺术等领域中。
1. ATaste of Py
Python in the Real World
Python versus Language X
So, Why Python?
When Not to Use Python
Python 2 versus Python 3
Installing Python
Running Python
Using the Interactive Interpreter
Use Python Files
What's Next?
Your Moment of Zen
Things to Do
2. Py Ingredients: Numbers, Strings, and Variables
Variables, Names, and Objects
Numbers
Integers
Precedence
Bases
Type Conversions
How Big Is an int?
Floats
Math Functions
Strings
Create with Quotes
Convert Data Types by Using str()
Escape with
Combine with +
Duplicate with *
Extract a Character with []
Slice with [ start : end : step ]
Get Length with len0
Split with split()
Combine with join()
Playing with Strings
Case and Alignment
Substitute with replace()
More String Things
Things to Do
3. Py Filling: Lists, Tuples, Dictionaries, and Sets
Lists and Tuples
Lists
Create with [] or list()
Convert Other Data Types to Lists with list()
Get an Item by Using [ offset ]
Lists of Lists
Change an Item by [ offset ]
Get a Slice to Extract Items by Offset Range
Add an Item to the End with append()
Combine Lists by Using extend() or +=
Add an Item by Offset with insert()
Delete an Item by Offset with del
Delete an Item by Value with remove()
Get an Item by Offset and Delete It by Using pop()
Find an Item's Offset by Value with index()
Test for a Value with in
Count Occurrences of a Value by Using count()
Convert to a String with join()
Reorder Items with sort()
Get Length by Using len()
Assign with =, Copy with copy()
Tuples
Create a Tuple by Using 0
Tuples versus Lists
Dictionaries
Create with {}
Convert by Using dict()
4. Py Crust: Code Structures
5. Py Boxes: Modules, Packages, and Programs
6. Oh Oh: Objects and Classes
7. Mangle Data Like a Pro
8. Data Has to Go Somewhere
9. The Web, Untangled
10. Systems
11. Concurrency and Networks
12. Be a Pythonista
A. PyArt
B. Pyat Work
C. PySci
D. Install Python 3
E. Answers to Exercises
F. Cheat Sheets
Index
That initial blank output line is the empty string'', which stands for the current directory.If '' is First in sys .path, Python looks in the current directory first when you try to import something: import report looks for report.py.
The first match willbe used.This means that ifyou define a module named random and it's in the search path before the standard library, you won't be able to access the standard library's random now.
Packages
We went from single lines of code, to multiline functions, to standalone programs, to multiple modulesin the same directory To allow Python applications to scale even more, you can organize modules into file hierarchies called packages.
Maybe we want different types of text forecasts: one for the next day and one for the next week.One way to structure this is to make a directory named sources, and create two modules within it: daily.py and weekly.py.Each has a function called forecast.The daily version returns a string, and the weekly version returns a list of seven strings.Here's the main program and the two modules.(The enuvierate() function takes apart alist and feeds each item of the list to the for loop, adding a number to each item as a liffle bonus.).
……
Python入门(影印版 英文版) [Introducing Python] 电子书 下载 mobi epub pdf txt
Python入门(影印版 英文版) [Introducing Python]-so88
Python入门(影印版 英文版) [Introducing Python] pdf epub mobi txt 电子书 下载 2022
图书介绍
☆☆☆☆☆
||
Bill Lubanovic 著
出版社: 东南大学出版社 ISBN:9787564159139 版次:1 商品编码:11789223 包装:平装 外文名称:Introducing Python 开本:16开 出版时间:2015-09-01 用纸:胶版纸 页数:454 字数:588000 正文语种:英文
内容简介
《Python入门(影印版 英文版)》容易理解而且读起来幽默风趣,对于编程初学者和Python语言新手而言是理想的书籍。作者卢布诺维克带你从基础知识开始,到深入和多样的议题,用混合了教材以及指南风格的代码片段来解释Python3中的概念。《Python入门(影印版 英文版)》章节末尾还有练习题帮助你练习刚刚学过的内容。
你将为这门语言打下坚实的基础,包括测试、调试、代码复用和其他开发技巧的实践。
《Python入门(影印版 英文版)》将向你展示如何通过各种工具和开源代码包,将Python应用于商业、科学和艺术等领域中。
目录
Preface1. ATaste of Py
Python in the Real World
Python versus Language X
So, Why Python?
When Not to Use Python
Python 2 versus Python 3
Installing Python
Running Python
Using the Interactive Interpreter
Use Python Files
What's Next?
Your Moment of Zen
Things to Do
2. Py Ingredients: Numbers, Strings, and Variables
Variables, Names, and Objects
Numbers
Integers
Precedence
Bases
Type Conversions
How Big Is an int?
Floats
Math Functions
Strings
Create with Quotes
Convert Data Types by Using str()
Escape with
Combine with +
Duplicate with *
Extract a Character with []
Slice with [ start : end : step ]
Get Length with len0
Split with split()
Combine with join()
Playing with Strings
Case and Alignment
Substitute with replace()
More String Things
Things to Do
3. Py Filling: Lists, Tuples, Dictionaries, and Sets
Lists and Tuples
Lists
Create with [] or list()
Convert Other Data Types to Lists with list()
Get an Item by Using [ offset ]
Lists of Lists
Change an Item by [ offset ]
Get a Slice to Extract Items by Offset Range
Add an Item to the End with append()
Combine Lists by Using extend() or +=
Add an Item by Offset with insert()
Delete an Item by Offset with del
Delete an Item by Value with remove()
Get an Item by Offset and Delete It by Using pop()
Find an Item's Offset by Value with index()
Test for a Value with in
Count Occurrences of a Value by Using count()
Convert to a String with join()
Reorder Items with sort()
Get Length by Using len()
Assign with =, Copy with copy()
Tuples
Create a Tuple by Using 0
Tuples versus Lists
Dictionaries
Create with {}
Convert by Using dict()
4. Py Crust: Code Structures
5. Py Boxes: Modules, Packages, and Programs
6. Oh Oh: Objects and Classes
7. Mangle Data Like a Pro
8. Data Has to Go Somewhere
9. The Web, Untangled
10. Systems
11. Concurrency and Networks
12. Be a Pythonista
A. PyArt
B. Pyat Work
C. PySci
D. Install Python 3
E. Answers to Exercises
F. Cheat Sheets
Index
精彩书摘
《Python入门(影印版 英文版)》:That initial blank output line is the empty string'', which stands for the current directory.If '' is First in sys .path, Python looks in the current directory first when you try to import something: import report looks for report.py.
The first match willbe used.This means that ifyou define a module named random and it's in the search path before the standard library, you won't be able to access the standard library's random now.
Packages
We went from single lines of code, to multiline functions, to standalone programs, to multiple modulesin the same directory To allow Python applications to scale even more, you can organize modules into file hierarchies called packages.
Maybe we want different types of text forecasts: one for the next day and one for the next week.One way to structure this is to make a directory named sources, and create two modules within it: daily.py and weekly.py.Each has a function called forecast.The daily version returns a string, and the weekly version returns a list of seven strings.Here's the main program and the two modules.(The enuvierate() function takes apart alist and feeds each item of the list to the for loop, adding a number to each item as a liffle bonus.).
……
前言/序言
Python入门(影印版 英文版) [Introducing Python] 电子书 下载 mobi epub pdf txt
电子书下载地址:
相关电子书推荐:
- 文件名
- 小玻在朋友家过夜-小玻系列翻翻书
- 影響人類文明發展的100位科學家
- 美国科学问答丛书:有趣的人体系统
- 现货港台原版进口 我的少女时代 电影写真集 水靈文創 玉春雷娛樂
- 鲍尔兄弟的自然画册 9787568905312 保罗·马丁·库珀 (Paul Marty
- 美术馆,原来如此!从日本到欧美,美术馆的工作现场及策展思考9789864082315
- 中国平方公里阵科学目标 科普读物 书籍
- 中央银行独立性:文化密码与象征表现【中国金融出版社直属书店】
- BF-无人机系统导论-(第4版)-(美)法尔斯特伦,(美)格里森,郭正 国防工业出版社 9
- 如何看待全球化(写给每一个关心世界的人)
- 推动丛书物理系列:宇宙的结构 【美】布莱恩R.格林
- [B233] 儒學方向與人的尊嚴
- 物种起源
- 菜根谭线装全4册 菜根谭正版书籍洪应明 文白对照 菜根潭正版草根谭菜梗谭 全注全译为人处世
- 圆顶龙的逆袭-决战恐龙星球-2