0% found this document useful (0 votes)
5 views

python advance Syllabus

Uploaded by

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

python advance Syllabus

Uploaded by

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

ADVANCED PYTHON

֍ OOP’s Part
# What is Class?
# How to define a Class?
# What is Object?
# What is Reference Variable?
# Self Variable
# Constructor Concept
# Differences between Methods and Constructors

# Types of Variables
➤ Instance Variables (Object Level Variables)
➤ Static Variables (Class Level Variables)
➤ Local variables (Method Level Variables)

# Where we can declare Instance Variables


➤ Inside Constructor by using self variable
➤ Inside Instance Method by using self variable
➤ Outside of the class by using object reference variable

# How to Access Instance Variables


# How to delete Instance Variable from the Object

# Static Variables
# Instance Variable vs Static Variable
# Various Places to declare Static Variables
# How to access Static Variables
# Where we can modify the Value of Static Variable
# How to Delete Static Variables of a Class

# Local Variables
# Types of Methods
➤ Instance Methods
➤ Class Methods
➤ Static Methods
# Setter and Getter Methods
# Passing Members of One Class to Another Class
# Inner Classes
# Garbage Collection
# How to enable and disable Garbage Collector in our Program
# Destructors
# How to find the Number of References of an Object

֍ OOP’s Part – 2
# Inheritance
➤ By Composition (Has-A Relationship)
➤ By Inheritance (IS-A Relationship

# IS-A vs HAS-A Relationship


# Composition vs Aggregation

# Types of Inheritance
➤ Single Inheritance
➤ Multi Level Inheritance
➤ Hierarchical Inheritance
➤ Multiple Inheritance
➤ Hybrid Inheritance
➤ Cyclic Inheritance

# Method Resolution Order


(MRO) # Head Element vs
Tail Terminology # How to
find Merge?
# Finding mro(P) by using C3 Algorithm
# super() Method
# How to Call Method of a Particular Super Class?
# Various Important Points about super()
֍ OOP’s Part – 3
# Polymorphism
# Duck Typing Philosophy of Python
# Overloading
➤ Operator Overloading
➤ Method Overloading
➤ Constructor Overloading
# Overriding
➤ Method Overriding
➤ Constructor Overriding

֍ OOP’s Part – 4
# Abstract Method
# Abstract class
# Interface
# Concreate class vs Abstract Class vs Inteface
# Public,Private and Protected Members
# str () Method
# Difference between str() and repr() functions
# Small Banking Application

֍ Exception Handling
# Syntax Errors
# Runtime Errors
# What is Exception
# Default Exception Handing in Python
# Python's Exception Hierarchy
# Customized Exception Handling by using try-except
# Control Flow in try-except
# How to Print Exception Information
# try with Multiple except Blocks
# Single except Block that can handle Multiple Exceptions
# Default except Block
# finally Block
# Control Flow in try-except-finally
# Nested try-except-finally Blocks
# Control Flow in nested try-except-finally
# else Block with try-except-finally
# Various possible Combinations of try-except-else-finally
# Types of Exceptions
➤ Predefined Exceptions
➤ User Definded Exceptions
# How to Define and Raise Customized Exceptions

֍ File Handling
# Types of Files
➤ Text Files
➤ Binary Files
# Opening a File
# Closing a File
# Various Properties of File Object
# Writing Data to Text Files
➤ write(str)
➤ writelines(list of lines)
# Reading Character Data from Text Files
➤ read() To Read Total Data from the File
➤ read(n) To Read 'n' Characters from the File
➤ readline() To Read only one Line
➤ readlines() To Read all Lines into a List
# The with Statement
# The seek() and tell() Methods
# How to check a particular File exists OR not
# Handling Binary Data
# Handling CSV Files
# Writing Data to CSV File
# Reading Data from
CSV File # Zipping and
Unzipping Files # To
Create Zip File
# Working with Directories
# Running Other Programs from Python Program
# How to get Information about a File
# Pickling and Unpickling of Object
֍ Multi Threading
# Multi Tasking
➤ Process based Multi Tasking
➤ Thread based Multi Tasking
# The ways of Creating Thread in
Python
➤ Creating a Thread without using any class
➤ Creating a Thread by extending Thread class
➤ Creating a Thread without extending Thread class
# Setting and Getting Name of
a Thread # Thread
Identification Number (ident) #
enumerate() Function
# isAlive() Method
# join() Method
# Daemon Threads
# Default Nature
# Synchronization
➤ Lock
➤ RLock
➤ Semaphore
# Synchronization By using Lock Concept
# Problem with Simple Lock
# Demo Program for Synchronization by using RLock
# Difference between Lock
and RLock #
Synchronization by using
Semaphore # Bounded
Semaphore
# Difference between Lock and Semaphore
# Inter Thread Communication
# Inter Thread Communication by using Event Objects
# Methods of Event Class
➤ set()
➤ clear()
➤ isSet()
➤ wait()|wait(seconds)
# Inter Thread Communication by using Condition Object
# Methods of Condition
➤ acquire()
➤ release()
➤ wait()|wait(time)
➤ notify()
➤ notifyAll()
# Case Study
# Inter Tread Communication by using Queue
# Important Methods of Queue
➤ put()
➤ get()
# Types of Queues
➤ FIFO Queue
➤ LIFO Queue
➤ Priority Queue
# Good Programming Practices with usage of Locks

֍ Python Database Programming


# Storage Areas
➤ Temporary Storage Areas
➤ Permanent Storage Areas
# File Systems
# Databases
# Python Database
Programming # Working
with Oracle Database #
Installing cx_Oracle
# Test Installation
# Working with MySQL Database
# Commonly used Commands in MySQL
# Driver/Connector Information
# Check Installation
֍ Regular Expressions & Web Scraping
# Character Classes
# Pre defined Character Classes
# Qunatifiers
# Important Functions of Remodule
1) match()
2) fullmatch()
3) search()
4) findall()
5) finditer()
6) sub()
7) subn()
8) split()
9) compile()
# Web Scraping by using Regular Expressions

֍ Decorator Functions
Decorator Chaining

֍ Generator Functions
# Advantages of Generator Functions
# Generators vs Normal Collections wrt Performance
# Generators vs Normal Collections wrt Memory Utilization

֍ Assertions
# Debugging Python Program by using assert Keyword
# Types of assert Statements
➤ Simple Version
> Augmented Version
# Exception Handling vs Assertions
9096055557 PYSPIDERS
DECCAN

You might also like