Amrita sai institute of Science & Technology
PYTHON PROGRAMMING
TRAINING SYLLABUS
Module-1: Introduction to Python: Features, History and Applications of Python,
Python IDE’s Python building blocks: Indentation, Identifiers, Variable, Expressions,
Statements, Comments, Keywords, Basic input output operations: input(), print(),
Operators: Arithmetic, Relational, Assignment, Logical, Bitwise, Membership and
Identity operators, Precedence of operators
Module-2: Control flow statements: Conditional statements (if, if-else, if-elif-
else, nested if), Loops in python (while, for, nested loops), Loop manipulation
statements (continue, pass, break, else), Programs using python control flow.
Module-3: Data structures in Python:
List: a) Defining lists, accessing values from list, deleting list values, updating lists
b) Basic list operations c) Built-in list functions/methods.
Tuple: a) Defining Tuple, accessing values from Tuple b) Basic Tuple operations c)
Built in Tuple functions/methods.
Set: a) Defining Sets, accessing values from set, deleting set values b) Basic set
operations c) Built in set functions/methods.
Dictionary: a) Defining Dictionary, accessing values from Dictionary, deleting
Dictionary values, updating Dictionary b) Basic Dictionary operations c) Built in
Dictionary functions/methods.
Module-4: Functions, Modules and Packages in Python
Functions: Defining function, Calling function, Function arguments, Return
statement, Scope of Variable, composition, recursion, Lambda functions
Strings: string slices, immutability, string functions and methods, string module;
Python arrays, Access the Elements of an Array, array methods
Modules: Create user defined Module, Importing a module, Using python built-in
modules, Namespace and scoping 3.3 Python Packages: Create user defined
Package, Importing a Package, Using python built-in Packages, Installing packages
using PIP.
Module-5: Files and exception:
Opening a file, Writing Text, Closing files, Writing numbers to a file, Text files,
reading and writing files, Reading numbers from a file, Appending data, seek()
function. Command line arguments
Errors and exceptions: handling exceptions, Exception handling with try,
handling multiple exceptions, Writing our own exceptisons.
Module-6: Object Oriented Programming in Python:
Object oriented Concepts: Creating class, Creating object, Constructors in python
(Parameterized & Non Parameterized), the self parameter, Polymorphism: Method
Overloading and Overriding, Data Hiding / Abstraction, Inheritance: Single
Inheritance, Multiple Inheritance, Multilevel Inheritance