Book Description
This book is written by Dr. (h.c.) Khaleel Ahmed H. M. who has been in the IT industry since early 1990s. Based out of Bangalore, the Silicon Valley of India, Dr. Khaleel has conducted training programs on a variety of technologies from operating systems inclusive of UNIX, Linux, Windows, OS2 to name a few. He has conducted training programs on programming languages inclusive of C, C++, Perl, Python, Tcl/Tk apart from others. He has conducted training programs on databases inclusive of Oracle, Sybase, DB2, MySQL, MS SQL Server apart from others. He was the only trainer outside America to conduct the Cisco IOS Bootcamp between 2011 & 2017. Some of the Fortune 500 companies where he has conducted Python training programs include IBM, Cisco, Huawei, Intel, Deloitte, Siemens, Nomura, Ericsson Global, ANZ, HCL, Wall Mart Labs, Sasken Technologies, Fidelity, Wells Fargo, Philips Innovation, Fujitsu & Carl Zeiss.
First of all, this book focusses on breaking the mental blocks to make sure the learner, with an open mind, is able to understand all the concepts. The book focuses on making sure the absolute fundamentals of Python which every Python developer needs, are introduced in a semitechnical language to make sure the learner not only finds Python easy but also finds programming as a whole very easy.
The code examples in the book are kept small & simple encouraging the learner to try out the code examples.
The book is spread over 9 chapters. The 9 chapters are as follows:
Table of Contents
ICE Breaking, finding friends in the new land of Python programming
Do you find Programming difficult?
Why is programming difficult for me?
What is experience?
4 stages of application development
4 Generations of Programming Languages
Cross platform application development
Associating an extension with an application… the windows way
Executing a program on the UNIX/Linux box
Features of Python
Interpreted language
Free & Open source
Extensible
Purely object oriented
No limits programming language
GUI support
Friends in the new land (Getting Help)
dir()
dir(__builtins__)
dir(obj)
help(object)
type(object)
help(class)
help()
Statements, operators & control flow statements
Running Python Statements
Writing Python Scripts
Executing Python Scripts on the Windows OS
Built-in functions
Introduction to a few basic built-in functions
Operators
Arithmetic Operators
Comparison Operators
Logical Operators
Assignment operators
The False & True conditions
Control Flow Statements
General Syntax – Indentation
Conditionals
Loops
Loop Control Statements
Data Structures in Python
Data Structures
Quick introduction to Classes and Objects
Lists
What is happening in the memory?
Tuple
Strings
Dictionary
keys
values
items
Adding items
Deleting items
Sets
List Comprehension
Working with Files
Using Files
Brief introduction
Opening the file
Closing the file
Reading from the file
Writing to the file
Querying the current file pointer position
Repositioning the file pointer
Modularity with functions
Writing Functions
Defining Function
Documentation: The DocString
Returning from a function
Processing parameters
Keyword Arguments
Default arguments
Processing any number of parameters
Processing any number of keyword arguments:
Nested functions and scope of symbols
The global keyword
Uses of the global statement
Recursive functions
Querying & changing the recursion depth
Call by value
Call by reference
Lambda
Modules
importing Modules & symbols from modules & alias
Developing Modules & Packages
Importance of __name__
__init__.py file for documentation & functions in a package
Object Oriented Programming
__new__, __init__, __del__
Inheritance – Single, Multiple & Multilevel
Public & Private Data Members
Operator Overloading __add__, __mul__, __eq__, et al
Exception Handling
Handling Exceptions
Raising Exceptions
User Defined Exceptions
Debugging Using pdb
中文:
书名:Taming Python: All You need to know to be comfortable writing Python Scripts
这本书是(h.c.)博士写的。Khaleel Ahmed H.M.自20世纪90年代初以来一直在IT行业工作。总部设在印度硅谷的班加罗尔,Khaleel博士开展了各种技术的培训项目,其中包括Unix、Linux、Windows、OS2等操作系统。他主持过C、C++、Perl、Python、TCL/Tk等编程语言的培训项目。他曾在Oracle、Sybase、DB2、MySQL、MS SQL Server等数据库上进行过培训。他是美国以外唯一一位在2011年和2017年间举办Cisco iOS训练营的培训师。他曾指导过《财富》500强企业的Python培训项目,其中包括IBM、思科、华为、英特尔、德勤、西门子、野村证券、爱立信全球、澳新银行、HCL、沃尔玛实验室、萨斯肯科技、富达、富国银行、飞利浦创新、富士通和卡尔·蔡司。
首先,这本书专注于打破心理障碍,以确保学习者能够以开放的心态理解所有的概念。这本书的重点是确保以半技术语言介绍每个Python开发人员所需的Python的绝对基础知识,以确保学习者不仅发现Python很容易,而且发现编程作为一个整体非常容易。
书中的代码示例保持小巧和简单,鼓励学习者尝试代码示例。
这本书共分9章。共9章内容如下:
目录表
打破沉默,在Python编程的新大陆结交朋友
Do you find Programming difficult?
Why is programming difficult for me?
经验是什么?
4 stages of application development
4代编程语言
跨平台应用程序开发
将分机与应用程序…关联窗户那条路
Executing a program on the UNIX/Linux box
Features of Python
Interpreted language
免费开放源代码(&A)
可扩展
纯粹面向对象
编程语言不受限制
GUI support
新大陆的朋友(寻求帮助)
dir()
dir(__builtins__)
目录(Obj)
help(object)
type(object)
help(class)
help()
Statements, operators & control flow statements
Running Python Statements
编写Python脚本
在Windows操作系统上执行Python脚本
内置函数
介绍几个基本的内置函数
操作员
Arithmetic 操作员
Comparison 操作员
Logical 操作员
Assignment operators
假与真的条件
控制流语句
General Syntax – Indentation
Conditionals
Loops
循环控制语句
Python中的数据结构
数据结构
类和对象快速入门
Lists
记忆中发生了什么?
Tuple
弦
Dictionary
keys
values
items
Adding items
Deleting items
Sets
List Comprehension
使用文件
Using Files
简介
打开文件
正在关闭文件
正在从文件中读取
正在写入文件
查询当前文件指针位置
重新定位文件指针
功能模块化
Writing Functions
Defining Function
文档:The DocString
Returning from a function
加工参数
Keyword Arguments
默认参数
Processing any number of parameters
处理任意数量的关键字参数:
符号的嵌套函数和作用域
全局关键字
GLOBAL语句的用法
递归函数
查询和更改递归深度(&A)
Call by value
Call by reference
Lambda
模块
从模块和别名导入模块符号(&A)
Developing 模块 & Packages
__姓名__的重要性
用于包中的文档和函数的__init__.py文件
面向对象编程
__new__、__init__、__del__
继承&单个、多个和多个级别
Public & Private Data Members
运算符重载__添加_、__多个__、__等
Exception Handling
处理异常
提出例外情况
用户定义的例外
使用PDB进行调试
评论前必须登录!
注册