Operating System : Linux / Windows 7/8/10 ( Professional or Enterprise ) – 64 Bit
Python Version : 3.7.x or post downloaded from Anaconda cloud
IDE Tool : Notepad ++
Prerequisite : Basic level proficiency in any of the high level programming Languages is mandatory.
Day – 1
Getting Started
- Python : Usage and relevance
- Variables, Keywords
- Built-in Functions
- Strings : Quotation variants and implications, raw string literals
- String operators and methods
- Numeric literals, math operators and expressions
- Input / Output
- String formatting
Flow Control
- White space, how it matters ?
- if and elif, Conditional expressions
- Relational operators
- Boolean operators while loops
- Alternate ways to exit a loop
Sequences
- Sequences – Walk through
- Lists, Tuples
- Various methods and functions applicable on Lists and Tuple
- Indexing and slicing
- Iterating through a sequence
- List comprehensions
Day – 2
Working with files
- Text file I/O, with block
- Read, Write, append operations : text file
- Binary (raw, or non – delimited) data
- Csv file handling
- File compression and decompression
Dictionaries and Sets
- Dictionaries : What’s about and usage context
- Creating and operate upon dictionaries( extracting values, iteration)
- Functions in dictionary type container
- Sets : What’s about and usage context
- Creating and working with sets
- Shallow vs Deep copy
Functions
- Function definition, parameters
- Variable scope – Global variables
- KeyWord Arguments
- Unknown args count
- Lambda – usage
- Reduce, map, filter & isalpha functions
Sorting
- Sorting overview
- The sorted () function
- Sorting dictionaries
- Sorting in reverse
- Sorting lists in place
Errors and Exception Handling
- Syntax errors, Exceptions
- Handling exceptions with try
- Ignoring exceptions
- Using else
- Cleaning up with finally
Modules
- What is a module?
- The import statement
- Math, sys, os, pprint, shutil, string modules
- Where did the .pyc file come from?
- How to create a customised module ?
- Module search path
- Creating Modules
Day – 3
Regular Expressions ( Basics )
- RE syntax overview
- Regular expression metacharacters
- RE Objects matching, searching for patterns
- Replacing text
- Replacing with a callback
- Various methods in re module
- Splitting a string
Standard Library
- The sys module ( command line args )
- Usage of pickle, shelve and shutil modules
- Interpreter information
OOPS implementation using Python ( Basics )
- Defining classes
- Initializers Instance methods
- Properties, constructors & de-constructors
- Class methods and data
- Inheritance