PYTHON PROGRAMMING
Enquire, Join and get training by Well Experienced & Certified tutors
for your professional IT Course.
PYTHON:Version 2.7.10
Chapter 1: An Introduction to Python
Introductory Remarks about Python
Strengths and Weaknesses
A Brief History of Python
Python Versions
Installing Python
Environment Variables
Executing Python from the Command Line
IDLE
Editing Python Files
Getting Help
Dynamic Types
Python Reserved Words
Naming Conventions
Chapter 2: Basic Python Syntax •
Introduction
Basic Syntax
Comments
String Values
String Operations
The format Method
String Slices
String Operators
Numeric Data Types
Conversions
Simple Input and Output
The print Function
• Chapter 3: Language Components
Introduction
Control Flow and Syntax
Indenting
The if Statement
Relational Operators
Logical Operators
True or False
Bit Wise Operators
The while Loop
break and continue
The for Loop
• Chapter 4: Collections
Introduction
Lists
Tuples
Sets
Dictionaries
Sorting Dictionaries
Copying Collections
Summary
• Chapter 5: Functions
Introduction
Defining Your Own Functions
Parameters
Function Documentation
Keyword and Optional Parameters
Passing Collections to a Function
Variable Number of Arguments
Scope
Functions – “First Class Citizens”
Passing Functions to a Function
Mapping Functions in a Dictionary
Lambda
Closures
• Chapter 6: Modules
Modules
Standard Modules – sys
Standard Modules – math
Standard Modules – time
The dir Function
• Chapter 7: Exceptions
Errors
Run Time Errors
The Exception Model
Exception Hierarchy
Handling Multiple Exceptions
raise
assert
Writing Your Own Exception Classes
• Chapter 8: Input and Output
Introduction
Data Streams
Creating Your Own Data Streams
Access Modes
Writing Data to a File
Reading Data From a File
Additional File Methods
Using Pipes as Data Streams
Handling IO Exceptions
Working with Directories
Metadata
The pickle Module
• Chapter 9: Classes in Python
Classes in Python
Principles of Object Orientation
Creating Classes
Instance Methods
File Organization
Special Methods
Class Variables
Inheritance
Polymorphism
• Chapter 10: Regular Expressions
Introduction
Simple Character Matches
Special Characters
Character Classes
Quantifiers
The Dot Character
Greedy Matches
Grouping
Matching at Beginning or End
Match Objects
Substituting
Splitting a String
Compiling Regular Expressions
Flags
Chapter 11: Modules and Packages
Initialization code
Namespaces
Executing modules as scripts
Documentation
Packages and name resolution
Naming conventions
Using imports
Chapter 12: Python Threading Module:
Why use threads?
Threads are different
Variables are shared
Python threads modules
The threading module
Chapter 13: Running Unix commands locally and remotely using Python modules
Run OS level commands on Unix..?
Usage and evaluation of Subprocess module
Usage and evaluation of Paramiko module
Understand the different use cases of Subproces and Paramiko
Chapter 14: Building command line tools in Unix:
What is command line tool
Usage examples in Unix administration
Argparse module and it’s implementation
Case study on writing a realtime command line tool in python
Chapter 15: Python working on CSV files
Importance of csv files
Read/write operations of python on csv
Chapter 16: Working with API’s in Python
What is an API
Understanding JSON module
How to parse API data and how to push data via API’s
Chapter 17: Creating Python Sandbox environments
what is sandboxing
Creating a Python virtual dev environment in Unix
Installing and managing modules and versions in virtual environment
Chapter 18: Automating AWS & DevOps with Python
Understanding AWS security key authentication
Establishing Python scripts to authenticate your AWS accounts
and control your EC2 instances
Exploring Python automation opportunities in AWS
Chapter 19: Two real time Projects with python.
Chapter 20: Review, resume content and Interview QA.