Taming Python: All You need to know to be comfortable writing Python Scripts Front Cover

Taming Python: All You need to know to be comfortable writing Python Scripts

  • Length: 263 pages
  • Edition: 1
  • Publication Date: 2021-01-14
  • ISBN-10: B08T6PQG7M
  • Sales Rank: #424745 (See Top 100 Books)
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

To access the link, solve the captcha.