Tutoring Syllabus
File Handling
- Types of files
- File Access Modes
- Introducing open() Function
- Reading a File: read(), readline(), readlines(), next()
- Reading a File using ‘with’
- Write to File using write() and writelines()
- ‘os’ Python Module
Exception Handling
- Handling Exceptions
- Using try Statement with except Clause
- Handling Multiple Exceptions
Module, Package and Import
- Introducing Module
- Module Naming Convention
- Introducing Packages
- Importing Modules
- Import Types: Absolute and Relative
- Search Path of a Module
- Imports Code-Layout or Conventions
Regular Expression
- Finding Patterns in String
- Substitute Occurrences of Pattern Found in String
- Symbols
- Basic Regular Meta-Characters
- Flags
Lambda, Filter, Map and Reduce
- Introducing Lambda Function
- Introducing filter()
- Introducing map()
- Introducing reduce()
Comprehensions
- List Comprehension
- Set Comprehension
- Dictionary comprehension
- Filtering in List, Set and Dictionary Comprehension
Object Oriented Programming
- Introduction to Object-Oriented Python
- Creating Classes and Using Constructor
- Attributes: Instance Variable(Instance Attributes), Class Variable(Class Attributes)
- Accessing Namespace of Instances and Class
- Method Resolution Order
- Regular Class Method
- Data Encapsulation and Polymorphism
- Access Modifiers: Public, Protected and Private Attributes
- Methods – Regular, Static, Class and Magic Methods
- Python Builtin Function for Class: isinstance(), issubclass(), getattr(), setattr(), hasattr()
- Class Inheritance
- Properties vs Getter and Setters
Serialization
- Understanding Serialization and De-Serialization
- Introducing Pickle
- Introducing Shelve
- Introducing JSON
- Introducing Joblib
Context Manager
- Understanding Context Manager
- Creating Context Manager
- Using Context Manager
Threading
- Thread Creation
- Demonstration of thread join() Method
- Returning Value from Thread Once it Completely Runs
- Introducing Lock(), Event() and Timer()