PreRequisite : Participants must have basic level proficiency in Python scripting
Delivery Mode : Hands on focus
Day – 1
Introduction to Python [Walkthrough]
- Introduction to python programming
- Working with the python interpreter
- Numbers and expressions
- Variables and statements
- Conditional statements and loop
Working with Strings
- An overview of strings in python
- String operators
- Built-in string methods
Lists and Tuples [ Advanced Topics ]
- Common sequence operations
- Manipulation of Lists
- Manipulation of Tuples
Working with dictionaries & Sets [ Advanced Topics ]
- Introduction to dictionaries
- Creating, assigning, updating dictionaries
- Dictionary operators, functions and built-in methods
- Application of sets
Functions
- Creating user-defined functions
- Passing formal arguments
- Recursion
- Variable-length arguments
- Lambda functions – applications
- Reduce, isalpha, map, filter functions
- Usage of functions with a data structure
Day – 2
File handling
- Working with CSV files
- Processing excel files
- Processing xml files
- File Compression & De-Compression using shutil, gzip modules
- Binary files handling
- Creating persistent objects using shelve module
Modules
- Importing modules and module attributes
- Creating custom modules
- Package Management in Python – complete cycle
Over view of Standard Library
- os
- sys
- math
- filecmp
- random
- datetime
- time
- re
Day – 3
Errors and exception handling
- Introduction to exceptions
- Detecting and handling exceptions
- Exceptions as Strings and Classes
- Raising exceptions
- Creating exceptions
- Standard exceptions
OOPS
- Introduction to OOP using python
- Classes and class attributes
- Inheritance
- Polymorphism
Unit Testing
- Introduction to Unit Testing
- Doctest
- Understanding assertions
- Unittest module
- Using Pytest
- Understanding assertions
- Mocking
Day – 4
Regular Expressions
- Characters
- Quantifiers
- Anchors
- Splitting
- Replacing
Web Scrapping
- scrapy web scrawling tool
REST API access
- JASON API
- using urllib2
- accessing urls with urllib2
- using requests module
- GET,POST using requests module
Day – 5
Accessing databases using python
- CRUD Operations
Django Web FrameWork
- Basics
Intro to Machine Learning Libraries
- Numpy
- Pandas
- case study for Data Frame handling