Python Syllabus
Python Syllabus
COURSE OVERVIEW
Python is a widely used high-level, general-purpose, interpreted, dynamic programming language. Its
design philosophy emphasizes code readability, and its syntax allows programmers to express concepts
in fewer lines of code than possible in languages such as C++ or Java.
Python supports multiple programming paradigms, including object-oriented, imperative and functional
programming or procedural styles. It features a dynamic type system and automatic memory
management and has a large and comprehensive standard library
PREREQUISITES
There are no hard pre-requisites.
Basic understanding of Computer Programming terminologies is sufficient.
Basic concepts related to Programming and Database is beneficial but not mandatory.
OBJECTIVES
To understand why Python is a useful scripting language for developers.
To learn how to design and program Python applications.
To learn how to use lists, tuples, and dictionaries in Python programs.
To learn how to identify Python object types.
To learn how to use indexing and slicing to access data in Python programs.
To define the structure and components of a Python program.
To learn how to write loops and decision statements in Python.
To learn how to write functions and pass arguments in Python.
To learn how to build and package Python modules for reusability.
To learn how to read and write files in Python.
To learn how to design object‐oriented programs with Python classes.
To learn how to use class inheritance in Python for reusability.
To learn how to use exception handling in Python applications for error handling.
PYTHON COURSE CONTENT
Duration: 30hrs
CORE PYTHON
INTRODUCTION TO PYTHON SCRIPT
DIFFERENT MODES IN PYTHON
PYTHON IDES
VARIABLES IN PYTHON
STRING HANDLING
PYTHON OPERATORS AND OPERANDS
PYTHON CONDITIONAL STATEMENTS
PYTHON LOOPS
PYTHON LISTS
PYTHON TUPLE
PYTHON SETS
PYTHON DICTIONARY
PYTHON FUNCTIONS
Note: Boto3 is Complimentary Topic To those who have knowledge in AWS can attend the Boto3
Classes.
PYTHON COURSE SYLLABUS
CORE PYTHON
INTRODUCTION TO PYTHON SCRIPT
What is Script, program?
Types of Scripts
Difference between Script and Programming Languages
Features and Limitation of Scripting
Types of programming Language Paradigms
What is Python?
Why Python?
Who Uses Python?
Characteristics of Python
History of Python
What is PSF?
Python Versions
How to Download and Install Python
Install Python with Diff IDEs
Features and Limitations of Python
Python Applications
Creating Your First Python Program
Printing to the Screen
Reading Keyboard Input
Using Command Prompt and GUI or IDE
Python Distributions
PYTHON IDEs
Builtin IDLE
Visual Studio Code
How to Work on Visual Studio Code
Visual Studio Code Extensions
Debugging process in Visual Studio Code
Jupyter Notebook
VARIABLES IN PYTHON
What is Variable?
Variables and Constants in Python
Variable,Variable names and Value
Mnemonic Variable Names
Values and Types
What Does “Type” Mean?
Multiple Assignment
Python different numerical types
Standard Data Types
STRING HANDLING
What is string?
String operations and indices
Basic String Operations
String Functions, Methods
Delete a string
String Multiplication and concatenation
Python Keywords, Identifiers and Literals
String Formatting Operator
Structuring with indentation in Python
Built-in String Methods
Accessing Values in Strings
Various String Operators
Some more examples
Python String replace() Method
Changing upper and lower case strings
Using “join” function for the string
Reversing String
Split Strings
PYTHON LOOPS
How to use “While Loop” and “For Loop”
How to use For Loop for set of other things besides numbers
Break statements, Continue statement, Enumerate function for For Loop
Practical Example
How to use for loop to repeat the same statement over and again
Break, continue statements
PYTHON LISTS
Lists are mutable
Getting to Lists
List indices
Traversing a list
List operations, slices and methods
Map, filter and reduce
Deleting elements
Lists and strings
PYTHON TUPLE
Advantages of Tuple over List
Packing and Unpacking
Comparing tuples
Creating nested tuple
Using tuples as keys in dictionaries
Deleting Tuples
Slicing of Tuple
Tuple Membership Test
Built-in functions with Tuple
Dotted Charts
PYTHON SETS
How to create a set?
Iteration Over Sets
Python Set Methods
Python Set Operations
Union of sets
Built-in Functions with Set
Python Frozenset
PYTHON DICTIONARY
How to create a dictionary?
Python hashing?
Python Dictionary Methods
Copying dictionary
Updating Dictionary
Delete Keys from the dictionary
Dictionary items() Method
Sorting the Dictionary
Python Dictionary in-built Functions
Dictionary len() Method
Variable Types
Python List cmp() Method
Dictionary Str(dict)
PYTHON FUNCTIONS
What is a function?
How to define and call a function in Python
Types of Functions
Significance of Indentation (Space) in Python
How Function Return Value?
Types of Arguments in Functions
Default Arguments and Non-Default Arguments
Keyword Argument and Non-keyword Arguments
Arbitrary Arguments
Rules to define a function in Python
Various Forms of Function Arguments
Scope and Lifetime of variables
Nested Functions
Call By Value, Call by Reference
Anonymous Functions/Lambda functions
Passing functions to function
map(), filter(), reduce() functions
What is a Docstring?
ADVANCED PYTHON
PYTHON MODULES
What is a Module?
Types of Modules
The import Statement
The from…import Statement
..import * Statement
Underscores in Python
The dir( ) Function
Creating User defined Modules
Command line Arguments
Python Module Search Path
PACKAGES IN PYTHON
What is a Package?
Introduction to Packages?
py file
Importing module from a package
Creating a Package
Creating Sub Package
Importing from Sub-Packages
Popular Python Packages
FILE HANDLING
What is a data, Information File?
File Objects
File Different Modes and Object Attributes
How to create a Text Fil and Append Data to a File and Read a File
Closing a file
Read, read line ,read lines, write, write lines…!!
Renaming and Deleting Files
Directories in Python
Working with CSV files and CSV Module
Handling IO Exceptions
Working with Json Files
PYTHON OS MODULE
Shell Script Commands
Various OS operations in Python
Python File System Shell Methods