没有合适的资源?快使用搜索试试~ 我知道了~
首页Introduction to Python for Engineers and Scientists -(2018)
Introduction to Python for Engineers and Scientists -(2018)
需积分: 9 40 下载量 122 浏览量
更新于2023-03-16
评论 1
收藏 2.91MB PDF 举报
Sandeep Nagar 1 Philosophy of Python 2 Introduction to Python Basics 3 IPython 4 Data Types 5 Operators 6 Arrays 7 Plotting 8 Functions and Loops 9 Object-Oriented Programming 10 Numerical Computing Formalism
资源详情
资源评论
资源推荐
and Scientists
Sandeep Nagar
Introduction to
Python for Engineers
Open Source Solutions for
Numerical Computation
ISBN-13 (pbk): 978-1-4842-3203-3 ISBN-13 (electronic): 978-1-4842-3204-0
https://doi.org/10.1007/978-1-4842-3204-0
Library of Congress Control Number: 2017961730
Copyright © 2018 by Sandeep Nagar
Any source code or other supplementary material referenced by the author in this book is
available to readers on GitHub via the book’s product page, located at www.apress.
com/9781484232033. For more detailed information, please visit http://www.apress.com/
source-code.
SandeepNagar
New York, USA
Introduction to Python for Engineers and Scientists:
Open Source Solutions for Numerical Computation
Chapter 1: Philosophy ofPython ����������������������������������������������������������1
1.1 Introduction .....................................................................................................1
1.1.1 High-Level Programming ........................................................................2
1.1.2 Interactive Environment .........................................................................2
1.1.3 Object Orientation ...................................................................................4
1.1.4 Multipurpose Nature ............................................................................... 5
1.1.5 Minimalistic Design ................................................................................6
1.1.6 Portability ...............................................................................................7
1.1.7 Extensibility ............................................................................................7
1.2 History .............................................................................................................8
1.2.1 Python 2 vs. Python 3 ............................................................................. 8
1.3 Python and Engineering ..................................................................................9
1.4 Modular Programming ..................................................................................10
1.5 Summary.......................................................................................................11
1.6 Bibliography ..................................................................................................11
Contents
Chapter 2: Introduction to Python Basics �������������������������������������������13
2.1 Introduction ...................................................................................................13
2.2 Installation ....................................................................................................13
2.2.1 Windows ...............................................................................................14
2.2.2 Ubuntu ..................................................................................................15
2.2.3 Mac OS X ..............................................................................................16
2.3 Using thePython Interpreter .........................................................................17
2.4 Anaconda IDE ................................................................................................20
2.5 Python asaCalculator ..................................................................................22
2.6 Modules ........................................................................................................24
2.6.1 Using aModule .....................................................................................26
2.7 Python Environment ...................................................................................... 27
2.7.1 Installing virtualenv ..............................................................................28
2.7.2 Activating virtualenv .............................................................................29
2.7.3 Deactivating theVirtual Environment ...................................................29
2.8 Summary.......................................................................................................30
2.9 Bibliography ..................................................................................................30
Chapter 3: IPython ������������������������������������������������������������������������������31
3.1 Introduction ...................................................................................................31
3.2 Installing IPython ..........................................................................................32
3.3 IPython Notebooks ........................................................................................38
3.3.1 Installing aJupyter Notebook ...............................................................38
3.4 Saving aJupyter Notebook ...........................................................................42
3.5 Online Jupyter Environment ..........................................................................43
3.6 Summary.......................................................................................................44
3.7 Bibliography ..................................................................................................45
Chapter 4: Data Types �������������������������������������������������������������������������47
4.1 Introduction ...................................................................................................47
4.2 Logical...........................................................................................................48
4.3 Numeric ........................................................................................................50
4.3.1 Integer ..................................................................................................50
4.3.2 Floating Point Numbers ........................................................................51
4.3.3 How toStore aFloating Point Number .................................................52
4.3.4 Complex Numbers ................................................................................55
4.4 Sequences ....................................................................................................56
4.4.1 Strings ..................................................................................................56
4.4.2 Lists andTuples ....................................................................................58
4.5 Sets andFrozensets ......................................................................................59
4.6 Mappings ......................................................................................................60
4.7 Null Objects ...................................................................................................60
4.8 Summary.......................................................................................................61
4.9 Bibliography ..................................................................................................61
Chapter 5: Operators ��������������������������������������������������������������������������63
5.1 Introduction ...................................................................................................63
5.2 Concept ofVariables .....................................................................................65
5.2.1 Rules ofNaming Variables ....................................................................67
5.3 Assignment Operator ....................................................................................68
5.4 Arithmetic Operators ..................................................................................... 75
5.5 Changing andDening Data Type .................................................................77
5.5.1 Order ofUsage ......................................................................................78
5.5.2 Comparison Operators ..........................................................................79
5.6 Membership Operator ...................................................................................80
5.7 Identity Operator ...........................................................................................81
剩余258页未读,继续阅读
qq_37931027
- 粉丝: 2
- 资源: 20
上传资源 快速赚钱
- 我的内容管理 收起
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
会员权益专享
最新资源
- ExcelVBA中的Range和Cells用法说明.pdf
- 基于单片机的电梯控制模型设计.doc
- 主成分分析和因子分析.pptx
- 共享笔记服务系统论文.doc
- 基于数据治理体系的数据中台实践分享.pptx
- 变压器的铭牌和额定值.pptx
- 计算机网络课程设计报告--用winsock设计Ping应用程序.doc
- 高电压技术课件:第03章 液体和固体介质的电气特性.pdf
- Oracle商务智能精华介绍.pptx
- 基于单片机的输液滴速控制系统设计文档.doc
- dw考试题 5套.pdf
- 学生档案管理系统详细设计说明书.doc
- 操作系统PPT课件.pptx
- 智慧路边停车管理系统方案.pptx
- 【企业内控系列】企业内部控制之人力资源管理控制(17页).doc
- 温度传感器分类与特点.pptx
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0