0% found this document useful (0 votes)
47 views9 pages

Python Syllabus

Uploaded by

r2701575
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
47 views9 pages

Python Syllabus

Uploaded by

r2701575
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 9

PYTHON

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

CODING CHALLENGES TO IMPROVE PROBLEM SOLVING SKILLS


ADVANCED PYTHON
 PYTHON MODULES
 PACKAGES IN PYTHON
 PYTHON DATE AND TIME
 FILE HANDLING
 PYTHON OS MODULE
 PYTHON EXCEPTION HANDLING
 PYTHON CLASS AND OBJECTS
 PYTHON REGULAR EXPRESSIONS
 PYTHON BOTO3 (AWS) – OPTIONAL

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

DIFFERENT MODES IN PYTHON


 Execute the Script
 Interactive and Script Mode
 Python File Extensions
 SETTING PATH IN Windows
 Clear screen inside python
 Learn Python Main Function
 Python Comments
 Quit the Python Shell
 Shell as a Simple Calculator
 Order of operations
 Multiline Statements
 Quotations in Python
 Python Path Testing
 Joining two lines
 Python Implementation Alternatives
 Sub Packages in Python
 Uses of Python in Data Science, IoT
 Working with Python in Unix/Linux/Windows/Mac/Android..!!

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

OPERATORS AND OPERANDS


 Order of Operations
 Swap variables
 Python Mathematics
 Type Conversion
 Mutable Versus Immutable Objects

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 OPERATORS AND OPERANDS


 Arithmetic, Relational Operators and Comparison Operators
 Python Assignment Operators
 Short hand Assignment Operators
 Logical Operators or Bitwise Operators
 Membership Operators
 Identity Operators
 Operator precedence
 Evaluating Expressions

PYTHON CONDITIONAL STATEMENTS


 How to use “if condition” in conditional structures
 if statement (One-Way Decisions)
 if .. else statement (Two-way Decisions)
 How to use “else condition”
 if .. elif .. else statement (Multi-way)
 When “else condition” does not work
 How to use “elif” condition
 How to execute conditional statement with minimal code
 Nested IF Statement

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

PYTHON DATE AND TIME


 How to Use Date & DateTime Class
 How to Format Time Output
 How to use Timedelta Objects
 Calendar in Python
 datetime classes in Python
 How to Format Time Output?
 The Time Module
 Python Calendar Module
 Python Text Calendar, HTML Calendar Class
 Unix Date and Time Commands

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

PYTHON EXCEPTION HANDLING


 Python Errors
 Common RunTime Errors in PYTHON
 Abnormal termination
 Chain of importance Of Exception
 Exception Handling
 Try … Except
 Try .. Except .. else
 Try … finally
 Argument of an Exception
 Python Custom Exceptions
 Ignore Errors
 Assertions
 UsingAssertionsEffectively

PYTHON CLASS AND OBJECTS


 Introduction to OOPs Programming
 Object Oriented Programming System
 OOPS Principles
 Define Classes
 Creating Objects
 Class variables and Instance Variables Constructors
 Basic concept of Object and Classes
 Access Modifiers
 How to define Python classes
 Python Namespace
 Self-variable in python
 Garbage Collection
 What is Inheritance? Types of Inheritance?
 How Inheritance works?
 Python Multiple Inheritance
 Overloading and Over Riding
 Polymorphism
 Abstraction
 Encapsulation
 Built-In Class Attributes

PYTHON REGULAR EXPRESSIONS


 What is Regular Expression?
 Regular Expression Syntax
 Understanding Regular Expressions
 Regular Expression Patterns
 Literal characters
 Repetition Cases
 Example of w+ and ^ Expression
 Example of \s expression in re.split function
 Using regular expression methods
 Using re.match()
 Finding Pattern in Text (re.search())
 Using re.findall for text
 Python Flags
 Methods of Regular Expressions

PYTHON BOTO3 (AWS) – OPTIONAL


 Understanding Boto3 Resource
 Understanding Boto3 Client
 AWS EC2 Creation
 AWS EC2 Filter Resources
 AWS EC2 Extra ip address of Machines with Tags
 AWS S3 Read objects
 AWS Start and Stop EC2 Automcatically on a Schedule using Lambda & CloudWatch

You might also like