给你21天,必须学会python!《21天学通Python》PDF版拿走不谢
作者简介
本书的作者团队成员为一线开发工程师、资深编程专家或专业培训师,在编程开发方面有着丰富的经验,并已出版过多本相关畅销书,颇受广大读者认可。长期积累的开发实战经验,结合对编程入门爱好者需求与特点的深入调查研究,本书的内容结构十分有利于编程爱好者和相关学员快速提高水平。
内容简介
《21天学通Python》全面、系统、深入地讲解了Python编程基础语法与高级应用。在讲解过程中,通过大量实际操作的实例将Python语言知识全面、系统、深入地呈现给读者。
《21天学通Python》共分三篇。第一篇介绍Python语言的特点、安装、语法基础、程序流程控制、面向过程的编程方法、面向对象的编程方法、程序异常的处理;第二篇介绍了Python语言中的包与模块、迭代器、生成器、装饰器、上下文管理器等进阶语法,同时介绍了使用Python标准库中的文件系统处理、图形化界面编程、正则表达式、网络编程、多进(线)程编程、数据库编程。此外,还介绍了运用第三方库的Web网站编程、图片处理;第三篇通过两个案例介绍Python的综合编程技术。
目录
第一篇Python编程基础
第1章编程与
Python.........................................................................................1
1.1什么是编程
........................................................................................................1
1.1.1硬件与软件
...........................................................................................................1
1.1.2编程语言
...............................................................................................................2
1.1.3编程与调试
...........................................................................................................3
1.2选择Python的理由
...........................................................................................4
1.2.1Python是免费的自由软件
...................................................................................4
1.2.2Python是跨平台的
...............................................................................................4
1.2.3Python功能强大
...................................................................................................4
1.2.4Python清晰优雅
...................................................................................................5
1.3安装
Python........................................................................................................5
1.3.1在Windows下安装
Python..................................................................................6
1.3.2在Linux下安装
Python........................................................................................7
1.4选择开发工具
....................................................................................................9
1.4.1Python自带开发工具:
IDLE..............................................................................9
1.4.2文本编辑器:
Emacs.............................................................................................9
1.4.3Python开发工具:
PythonWin...........................................................................12
1.5编辑和运行Python程序
.................................................................................15
1.5.1你好,
Python...................................................................................................15
1.5.2运行程序文件
....................................................................................................................15
1.5.3交互式运行
Python.............................................................................................16
1.6小结
..................................................................................................................17
1.7本章习题
..........................................................................................................17
第2章Python起步
...........................................................................................19
2.1Python语法基础
..............................................................................................19
2.1.1缩进分层
.............................................................................................................19
2.1.2代码注释
.............................................................................................................20
2.1.3断行
.....................................................................................................................20
2.2Python输入/输出
.............................................................................................21
2.2.1接收键盘/输入
....................................................................................................21
2.2.2显示处理结果
........................................................................................................................22
2.3用Python计算
.................................................................................................22
2.3.1算式与代数式运算
..............................................................................................23
2.3.2惊奇
.....................................................................................................................24
2.4小结
..................................................................................................................25
2.5本章习题
..........................................................................................................25
第3章Python数据类型
......................................................................................................27
3.1Python简单数据类型
......................................................................................27
3.1.1字符串(str)
........................................................................................................................27
3.1.2整数(int)
.........................................................................................................30
3.1.3浮点数(float)
..................................................................................................31
3.1.4类型转换
.............................................................................................................31
3.2字符串进阶
.....................................................................................................................32
3.2.1原始字符串
.........................................................................................................32
3.2.2格式化字符串
..............................................................................................................33
3.2.3中文字符串处理
..................................................................................................33
3.3标志符与赋值号
..............................................................................................34
3.3.1标志符
.................................................................................................................34
3.3.2“=”.................................................................................................................34
3.4Python结构数据类型
......................................................................................35
3.4.1列表(list)
.........................................................................................................35
3.4.2元组(tuple)
........................................................................................................................37
3.4.3字典(dict)
.......................................................................................................37
3.5内置常量与逻辑运算符、比较运算符
..........................................................39
3.5.1常用内置常量
.................................................................................................39
3.5.2Python中逻辑运算符
.........................................................................................39
3.5.3Python中比较运算符
.........................................................................................40
3.5.4Python中其他逻辑操作符
.................................................................................40
3.6序列
..................................................................................................................41
3.6.1序列切片
.............................................................................................................41
3.6.2序列内置操作
..............................................................................................42
3.7小结
..................................................................................................................43
3.8本章习题
..........................................................................................................43
第4章控制语句执行流程
.................................................................................45
4.1用if选择执行语句
..........................................................................................45
4.1.1if基础
..................................................................................................................45
4.1.2if语句的嵌套
......................................................................................................48
4.2用for循环执行语句
.......................................................................................50
4.2.1for基础
................................................................................................................50
4.2.2for语句与break语句、continue语句
...............................................................50
4.2.3for语句与range()函数
.......................................................................................52
4.2.4for语句与内置迭代函数
....................................................................................53
4.3用while循环执行语句
...................................................................................54
4.3.1while基础
.............................................................................................................54
4.3.2增量赋值运算符
..................................................................................................55
4.4推导或内涵(listcomprehension)
................................................................56
4.4.1推导基础
.............................................................................................................56
4.4.2推导进阶
.............................................................................................................56
4.5小结
..................................................................................................................57
4.6本章习题
..........................................................................................................57
书籍的分享格式为PDF电子版,小伙伴们手机也可以阅读学习哦!
书籍终归只是辅助,想要真的深入学习python,当然还要有系统的学习方法和学习教程才可以让你在学习的路上一帆风顺哦!
本套视频一共400集,本套视频共分3季:
第一季 【基础篇】Python基础 (115集)
第二季 【提高篇】Python深入和扩展(100集)
第三季 【扩展篇】网络编程、多线程、扩展库(85集)
第四季 【高手篇】算法、Python源码、函数式编程、手工实现神经网络(100集)
以上这些教程我已经为大家打包准备好了,希望对正在学习的你有所帮助 下图拿
备注3A(必填,快速通过)