PRAGATHI TECHNOLOGIES
BTM *** MARATHAHALLI *** KALYAN NAGAR
Python Course Curriculum
PYTHON-AN INTRODUCTION
➔ Python : An Overview
➔ History of Python
➔ Versions of Python
➔ Features of Python
Simple
Open Source
High-Level Programming Language
Portable
Object-Oriented and Procedure-Oriented
Interpreted
Easy to Maintain
Scalable
➔ Innards of Python
Introducing Python Interpreter
➔ Implementations of Python
CPython
Jython
Python.NET
Frozen Binaries
➔ Comparison of Python with Contemporary Languages
JAVA
C++
PRAGATHI TECHNOLOGIES
BTM *** MARATHAHALLI *** KALYAN NAGAR
Python Course Curriculum
JavaScript
Perl
CREATING YOUR FIRST PROGRAM IN PYTHON
➔ Installation of Python
➔ Creating and Running a Python Program
Writing a Python Program using Command-line Window
Python IDLE
➔ Interactive Python
DATA TYPES-CLASSIFYING DATA IN PYTHON
➔ Comments
➔ Values and Data Types
Numeric Data Type
Boolean Data Type
Compound Data Types
Dictionaries
Sets
➔ Other Basic Elements of a Python Program
Identifiers
Keywords
Variables
PRAGATHI TECHNOLOGIES
BTM *** MARATHAHALLI *** KALYAN NAGAR
Python Course Curriculum
IMPLEMENTING INPUT AND OUTPUT OPERATIONS
➔ Python Output
➔ Python Input
➔ File I/O Operations
Opening a File
Closing a File
Writing a File
Reading a File
OPERATORS-PERFORMING LOGICAL AND
MATHEMATICAL OPERATIONS
➔ OPERATORS
Arithmetic Operators
Relational Operators
Boolean / Logical Operators
Bitwise Operators
Assignment Operators
Membership Operators
Identify Operators
➔ Operators Precedence and Associativity
Precedence of Operators
Associativity of Operators
PRAGATHI TECHNOLOGIES
BTM *** MARATHAHALLI *** KALYAN NAGAR
Python Course Curriculum
STATEMENTS- CONTROLLING THE FLOW OF PROGRAM
➔ Boolean Values in Python
➔ Decision Making Statements
The if Statement
The ‘if-else’ Statement
The ‘if-elif-else’ Statement
➔ Loops and Iterative Processing in Python
‘for’ Loop
The while loop
The ‘else’ clause with ‘for’ and ‘while’ loops
‘break’ and ‘continue’ statements
Pass Statement in Python
STRINGS- A SEQUENCE OF CHARACTERS
➔ Strings in Python
Creating a String
How to access Characters of a String?
Immutability of strings in Python
➔ Methods in Strings
➔ Format Operators
➔ String Operations
Concatenation of Strings
PRAGATHI TECHNOLOGIES
BTM *** MARATHAHALLI *** KALYAN NAGAR
Python Course Curriculum
Calculating length of a String
String Iteration
String Membership
String Comparison
➔ String Modules
ARRAYS – ARRANGING SIMILAR OBJECTS
SYSTEMATICALLY
➔ Working with Arrays
Importing an Array
Declaring an Array
Operations on Arrays and Array Methods
➔ Working with NumPy
NumPy arrays
Indexing and Slicing
➔ Array Manipulation
IMPLEMENTING FUNCTIONS IN PYTHON
➔ What is a Function ?
Built-in functions in Python
Use and Benefits of Functions
Flow of Execution
➔ Implementing Functions in Python
PRAGATHI TECHNOLOGIES
BTM *** MARATHAHALLI *** KALYAN NAGAR
Python Course Curriculum
Defing a Function
Calling a Function
The ‘Return’ Statement
➔ Parameters and Arguments
Function Parameters
Function Arguments
Arbitary Arguments
➔ Anonymous / Lambda Functions
➔ Scope of Variables
➔ Recursive Functions in Python
➔ Modules
The import Statement
The ‘from…import’ Statement
LISTS AND TUPLES – MANAGING DATA
SYSTEMATICALLY
➔ LIST : A SEQUENCE
List Mutability
➔ List Operations
Traversing a list (or List Loop)
Concatenating list
Repeating a list
Calculating list Length
PRAGATHI TECHNOLOGIES
BTM *** MARATHAHALLI *** KALYAN NAGAR
Python Course Curriculum
Deleting List
➔ List Slices
➔ List Methods
➔ Aliasing
➔ Cloning
➔ List Comprehension
➔ Tuples
Creating a Tuple
Accessing a Tuple
Modifying a Tuple
Deleting a Tuple
Tuple Operators and Built-in Functions
Tuples as Return Values
DICTIONARIES AND OTHER DATA STRUCTURES
➔ DICTIONARIES
Creating a Dictionary
Accessing a Dictionary
Deleting Dictionary Elements
Operators in Dictionary
Dictionaries and String Formatting
Methods in Dictionary
➔ Other Data Structures
PRAGATHI TECHNOLOGIES
BTM *** MARATHAHALLI *** KALYAN NAGAR
Python Course Curriculum
Stacks
Queues
Linked List
RECURSION AND ALGORITHMS IN PYTHON
➔ What is Recursion ?
Designing a Recursive Algorithm
➔ Significance of Recursion
➔ Snags of Recursion
IMPLEMENTING OOP CONCEPTS, CLASSES AND
OBJECTS
➔ Issues with Procedural approach
➔ Speciality in Python
➔ Classes and Objects
Overview
Creating and instantiating a class in Python
➔ Constructors and destructors
Creating a Constructor
Creating a Destructor
➔ Class and Instance Variables
➔ Instance, Class and Static Methods
Instance Methods
PRAGATHI TECHNOLOGIES
BTM *** MARATHAHALLI *** KALYAN NAGAR
Python Course Curriculum
Class Methods
Static Methods
➔ Built in Class methods and attributes
➔ Privacy in Python
IMPLEMENTING INHERITANCE IN PYTHON
➔ Inheritance in Python
Syntax of inheritance in Python
➔ Types of Inheritance
Single Inheritance
Multilevel Inheritance
Hierarchical inheritance
Multiple inheritance
➔ Method Overriding- A problem inheritance
➔ Constructors in inheritance
➔ Method Resolution Order
IMPLEMENTING POLYMORPHISM IN PYTHON
➔ Polymorphism in Python
Method of Overloading in Python
➔ Duck Typing in Python
➔ Polymorphism and inheritance viewed together
Resolving method overriding
PRAGATHI TECHNOLOGIES
BTM *** MARATHAHALLI *** KALYAN NAGAR
Python Course Curriculum
Resolving Constructor Overriding
➔ Operator Overloading
INTERFACES AND ABSTRACTION IN PYTHON
➔ Abstract Classes in Python
➔ Interfaces
CREATING A GUI USING PYTHON
➔ The root Window
➔ Widget Classes in tkinter
➔ Layout Management
The Pack layout manager
The Grid layout manager
The Place layout Manager
➔ Event Handling
HANDLING FILES I/O
➔ Files
Types of Files
➔ Opening and Closing Files
The ‘open( )’ function
PRAGATHI TECHNOLOGIES
BTM *** MARATHAHALLI *** KALYAN NAGAR
Python Course Curriculum
➔ Writing and Reading Files
The ‘Write( )’ Function
The ‘read( )’ Function
➔ File Positions
➔ Rename and Remove Files
The ‘renmae( )’ Function
The ‘remove( )’ Function
HANDLING ERRORS AND EXCEPTIONS
➔ Errors in Python Program
Syntax Errors
Exceptions
➔ Types of Exceptions
➔ Handling Exceptions in Python
➔ Raising Exceptions
➔ User Defined Exceptions
REGULAR EXPRESSIONS
➔ Matching Simple Patterns
Metacharacters
➔ Using Regular Expressions
Functions in Regular Expressions
HANDLING NUMBERS, DATES AND TIME
PRAGATHI TECHNOLOGIES
BTM *** MARATHAHALLI *** KALYAN NAGAR
Python Course Curriculum
➔ Numeric Types in Python
Number Type Conversion
Mathematical Functions
Random Number Functions
Trigonometric Functions
Mathematical Constants
➔ Date and Time in Python
Available Types of Datetime Module
Time Tuple
The Calendar Module