Course Curriculum of python

We believe that you can’t do well in any programming language until you have a
solid foundation.
We want that our students should have a full confidence in their programming
skills so we give them lots of examples and problems to practice.

Introduction to Python:
Python
 Features of Python
 Execution of a Python Program
 Viewing the Byte Code
 Flavors of Python
 Python Virtual Machine(PVM)
 Frozen Binaries
 Memory Management in Python
 Garbage Collection in Python
 Comparison between C and Python
 Comparison between Java and Python
Writing our First Program
 Installing Python
 Writing our First Python Program
 Executing Python Program

 Using Python’s Command Line Window
 Using Python’s IDLE Graphics Window
 Running Directly from System Prompt

Datatypes in Python
 Comments in Python

 Single Line comment
 Multi Line comment

 Docstrings
 Datatypes in Python

 Built-in datatypes
 Sequences in Python
 Sets
 Literals in Python
Operators in Python
 Operator
 Arithmetic Operator
 Assignment Operator
 Unary Operator
 Relational Operators
 Logical Operators
 Boolean Operators
 Bitwise Operators
 Membership Operators
 Identity Operators
 Operator Precedence and Associativity
Input and Output
 Output statements

 The print() Statement
 The print(”string”) Statement
 The print(variables list) Statement
 The print(object) Statement
 The print(”string”, variables list) Statement
 The print(formatted string) Statement

 Input Statements
 Command Line Arguments
Control Statements
 The if Statement
 A Word on Indentation
 The if…..else Statement
 The if…..elif…..else Statement
 The while Loop

 The for Loop
 Infinite Loops
 Nested Loops
 The break and continue Statement
 The pass Statement
 The assert Statement
 The return Statement
Arrays
 Array
 Advantages of Arrays
 Creating an Array
 Importing the Array Module
 Indexing and Slicing on Arrays
 Processing the Arrays
 Types of Arrays
 Working with Arrays using numpy
 Creating Arrays using array()
 Creating Arrays using linspace
 Creating Arrays using logspace
 Creating Arrays using arrange() Function
 Creating Arrays using zeros() and ones()Functions
 Mathematical operations on Arrays
 Comparing Arrays
 Aliasing the Arrays
 Viewing and Copying Arrays
 Slicing and Indexing in numpy Arrays
 Dimensions of Arrays
 Attributes of an Array
 The ndim Attribute
 The shape Attribute
 The size Attribute
 The itemsize Attribute
 The dtype Attribute
 The nbytes Attribute
 The reshape() Method
 The flatten() Method

 Working with Multi dimensional Arrays

 The array() Function
 The ones()and zeros() Functions
 The eye() Function
 The reshape() Function
 Indexing in Multi dimensional Arrays
 Slicing the Multi dimensional Arrays
 Matrices in numpy
 Getting Diagonal Elements of a Matrix
 Finding Maximum and Minimum Elements
 Finding Sum and Average of Elements
 Products of Elements
 Sorting the Matrix
 Transpose of a Matrix
 Random Numbers
Strings and Characters
Creating Strings
 Length of a String
 Indexing in Strings
 Slicing the Strings
 Repeating the Strings
 Concatenation of Strings
 Checking Membership
 Comparing Strings
 Removing Spaces from a String
 Finding Sub Strings
 Counting Substrings in a String
 Strings are immutable
 Replacing a String with another String
 Replacing a String with another String
 Splitting and Joining Strings
 Changing Case of a String
 Checking Starting and Ending of a String
 String Testing Methods
 Formatting the Strings
 Sorting Strings

 Searching in the Strings
 Finding Number of Characters and Words
 Inserting Sub String into a String
Functions
 Difference between a Function and a Method
 Defining a Function
 Calling a Function
 Returning Results from a Function
 Returning Multiple Values from a Function
 Functions are First Class Objects
 Pass by Object Reference
 Formal and Actual Arguments
 Positional Arguments
 Keyword Arguments
 Default Arguments
 Variable Length Arguments
 Local and Global Variables
 The Global Keyword
 Passing a Group of Elements to a Function
 Recursive Functions
 Anonymous Functions or Lambdas

 Using Lambdas with filter() Function
 Using Lambdas with map() Function
 Using Lambdas with reduce() Function

 Function Decorators
 Generators
 Structured Programming
 Creating our Own Modules in Python
 The Special Variable _name_
Lists and Tuples
 List
 Creating Lists using range() Function
 Updating the Elements of a List
 Concatenation of Two Lists

 Repetition of Lists
 Membership in Lists
 Aliasing and Cloning Lists
 Methods to process Lists
 Finding Biggest and Smallest Elements in a List
 Sorting the List Elements
 Number of Occurrences of an Element in a List
 Finding Common Elements in two Lists
 Storing Different Types of Data in a List
 Nested Lists
 Nested Lists as Matrices
 List Comprehensions
 Tuples
 Creating Tuples
 Accessing the Tuple Elements
 Basic Operations on Tuples
 Functions to process Tuples
 Nested Tuples
 Inserting Elements in a Tuple
 Modifying Elements of a Tuple
 Deleting Elements from a Tuple

Dictionaries
 Operations on Dictionaries
 Dictionary Methods
 Using for Loop with Dictionaries
 Sorting the Elements of a Dictionary using Lambdas
 Converting Lists into Dictionary
 Converting Strings into Dictionary
 Passing Dictionaries to Functions
 Ordered Dictionaries

Introduction to OOPS
 Problems in Procedure Oriented Approach

 Specialty of Python Language
 Features of Objects Oriented Programming System(OOPS)

 Classes and Objects
 Encapsulation
 Abstraction
 Inheritance
 Polymorphism
Classes and Objects
 Creating a Class
 The Self Variable
 Constructor
 Types of Variables
 Namespaces
 Types of Methods

 Instance Methods
 Class Methods
 Static Methods

 Passing Members of One Class to Another Class
 Inner Classes
Inheritance and Polymorphism
 Constructors in Inheritance
 Overriding Super Class Constructors and Methods
 The super() Method
 Types of Inheritance
 Single Inheritance
 Multiple Inheritance
 Method Resolution Order (MRO
 Polymorphism
 Duck Typing Philosophy of Python
 Operator Overloading
 Method Overloading

 Method Overriding

Abstract Classes and Interfaces
 Abstract Method and Abstract Class
 Interfaces in Python
 Abstract Classes vs. Interfaces

Exceptions
 Errors in a Python Program
 Compile-Time Errors
 Runtime Errors
 Logical Errors

 Exceptions
 Exception Handling
 Types of Exceptions
 The Except Block
 The assert Statement
 User-Defined Exceptions
 Logging the Exceptions
Files in Python
 Files
 Types of Files in Python
 Opening a File
 Closing a File
 Working with Text Files Containing Strings
 Knowing Whether a File Exists or Not
 Working with Binary Files
 The with Statement
 Pickle in Python
 The seek() and tell() Methods

 Random Accessing of Binary Files
 Random Accessing of Binary Files using mmap
 Zipping and Unzipping Files
 Working with Directories
 Running Other Programs from Python Program
Regular Expressions in Python
 Regular Expressions
 Sequence Characters in Regular Expressions
 Quantifiers in Regular Expressions
 Special Characters in Regular Expressions
 Using Regular Expressions on Files
 Retrieving Information from a HTML File
Data Structures in Python
 Linked Lists
 Stacks
 Queues
 Deques
Date and Time
 The epoch
 Date and Time Now
 Combining Date and Time
 Formatting Dates and Times
 Finding Durations using “timedelta”
 Comparing Two Dates
 Sorting Dates
 Stopping Execution Temporarily
 Knowing the Time taken by a Program
 Working with Calendar Module

Threads
 Single Tasking
 Multitasking
 Differences between a Process and a Thread
 Concurrent Programming and GIL
 Uses of Threads
 Creating Threads in Python

 Creating a Thread without using a Class
 Creating a Thread by Creating a Sub Class to Thread Class
 Creating a Thread without Creating Sub Class to Thread Class

 Thread Class Methods
 Single Tasking using a Thread
 Multitasking using Multiple Threads
 Thread Synchronization
 Locks
 Semaphore
 Deadlock of Threads
 Avoiding Deadlocks in a Program
 Communication between Threads
 Thread Communication using nofity() and wait() Methods
 Thread Communication using a Queue
 Daemon Threads
Graphical User Interface
 GUI in Python
 The Root Window
 Fonts and Colors
 Working with Containers
 Canvas
 Frame
 Widgets
 Button Widget

 Arranging Widgets in the Frame
 Label Widget
 Message Widget
 Text Widget
 Scrollbar Widget
 Checkbutton Widget
 Radiobutton Widget
 Entry Widget
 Spinbox Widget
 Listbox Widget
 Menu Widget
Networking in Python
 Protocol

 TCP/IP Protocol
 User Datagram Protocol (UDP)

 Sockets
 Knowing IP Address
 URL
 Reading the Source Code of a Web Page
 Downloading a Web Page from Internet
 Downloading an Image from Internet
 A TCP/IP Server
 A TCP/IP Client
 A UDP Server
 A UDP Client
 File Server
 File Client
 Two-Way Communication between Server and Client
 Sending a Simple Mail

Python’s Database Connectivity

 DBMS
 Advantages of a DBMS over Files
 Types of Databases Used with Python
 Installation of MySQL Database Software
 Setting the Path to MySQL Server
 Verifying MySQL in the Windows Operating System
 Installing MySQL Connector
 Verifying the Connector Installation
 Working with MySQL Database
 Using MySQL from Python
 Retrieving All Rows from a Table
 Inserting Rows into a Table
 Deleting Rows from a Table
 Updating Rows in a Table
 Creating Database Tables through Python
 Installation of Oracle 11g
 Verifying Oracle Installation in Windows Operating System
 Installing Oracle Database Driver
 Verifying the Driver Installation
 Working with Oracle Database
 Using Oracle Database from Python
 Stored Procedures
Data Science Using Python
 Data Frame

 Creating Data Frame from an Excel Spreadsheet
 Creating Data Frame from .csv Files
 Creating Data Frame from a Python Dictionary
 Creating Data Frame from Python List of Tuples
 Operations on Data Frame

 Data Visualization
 Bar Graph
 Histogram

 Creating a Pie Chart
 Creating Line Graph

Please follow and like us:
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *