Course Index

Day 1 :

Python Installation

Python Introduction:

Learning Objectives - Understand what Python is and why it is so popular. Learn how to set up Python environment, flow control and write your first Python program.

Topics -

Python Overview :

  • About Interpreted Languages, Advantages/Disadvantages of Python, pydoc.

  • Starting Python, Interpreter PATH, Using the Interpreter

  • Running a Python Script, Python Scripts on UNIX/Windows, Python Editors and IDEs.

  • Using Variables, Keywords, Built-in Functions, Strings, Different Literals, Math Operators and Expressions, Writing to the Screen, String Formatting, Command Line Parameters and Flow Control.

Day 2 & 3:

Python Datatypes & Type Conversion:

Numbers : Python supports four numerical types > int (signed integers) ,long (long integers),float (floating point real values), complex ( complex numbers).

Strings :

  • In Python everything is object & String are an object too.

  • b) Reading Values from String.

  • c) Updating values in a String

  • d) Delete elements from a String.

  • e) Python String Operations.

Python Lists :

a) List in Python is a mutable collection whose values can be modified after adding values in a list. We can add duplicate elements in a List.

b) Reading Values from List.

c) Updating values in a List

d) Delete elements from a List.

e) Python List Operations.

Python Tuples :

a) Tuples in Python is a immutable collection whose values can’t be modified once added.

b) Reading Values from Tuple.

c) Updating values in a Tuple

d) Delete elements from a Tuple.

e) Python Tuple Operations.

Dictionary in python :

a) Dictionary key is separated from its value by a colon (:)

b) Reading Values from Dictionary.

c) Updating values in a Dictionary

d) Delete elements from a Dictionary.

e) Python Dictionary Operations.

f) Dictionary built-in functions & methods.

Sets in Python:

A Set is an unordered collection data type that is

  • iterable

  • mutable

  • has no duplicate elements

Type Conversion:

  • Converting to integer base 2

  • Converting to float

  • Converting Integer to hexadecimal string

  • Converting Integer to octal string

  • Converting string to tuple

  • Converting string to set

  • Converting string to list

Day 4 : Operators

  1. Arithmetic Operators

  2. Comparison Operators

  3. Logical Operators

  4. Assignment Operators

  5. Binary Operators

  6. Identity Operators

  7. Membership Operators

Day 5 :

Conditional Statements:

  • If

  • if-else

  • if-elif-else

Loops:

  • For Loop

  • While Loop

Day 6 : Practice of Day 3, Day 4 & Day 5

Day 7 : Functions -1

1- Definition

2- Rules to define a function

3- Calling a Function

4- Pass by reference vs pass by value

5- Function Arguments

6- Examples

Day 8: Functions -2

1- Anonymous Functions

  • Lambda keyword

  • return statement

  • map()

  • filter()

  • reduce()

Scope of Variables - Global & Local Variables

Date & Time Functions in Python

Python Date, Time & Date Time classes provides a number of functions to deal with dates, times & time interval.

Date Time classes in Python are categorized into five main classes:

a) Time : Time independent of the day( Hour, minute, second, microsecond)

b) Datetime : Combination of time & date ( Month, day , hour, second, microsecond)

c) Timedelta : a duration of time used for manipulating dates.

d) Tzinfo : An abstract class for dealing with time zones.

Day 9 : Practice of Day 7, Day 8

Day 10 :

I/O Functions in Python

  • Keyboard I/O Functions ( reading data from Keyboard)

  • Files R/W operations.

  • Python opening/closing of files (Excel, csv, etc).

  • Python File & Directory Related methods.

Day 11, Day 12 :

OOPS Concepts in Python:

  • Python Classes & Objects Overview

  • OOPS terminology in Python

  • Creating Python Objects.

  • Python Built-In class attributes.

  • Garbage Collection in Python. (Destroying Python objects)

  • Python Inheritance.

  • Python Function Overloading and Overriding

  • Data Hiding concept in python

  • Data Binding concept in Python (Encapsulation)

  • Constructors in Python.

  • Declaring Enumerations

  • Python Class String values

  • Python Computed Attributes

  • Python Object Operations

  • Python Object Comparisons

  • Multithreading

Day 13 :

Python Database Connectivity, Debugging & CRUD operations.

  • Connecting Python with OLTP sources.

  • Python CRUD operations.

  • Calling DB Procedures & Functions.

  • Packages in Python

Day 14 :

Python - XML & JSON Data Processing

  • XML data parsing using DOM parser

  • XML data parsing using SAX parser

  • JSON data parsing using JSON parser.

Python Integration with various Datasources

  • RDBMS/OLTP Sources (Mysql + Oracle + PostgreSQL)

  • PDF & Excel

  • API Integration (SOAP/REST API Consumer)

  • XML & JSON sources

  • Flat files Integration (CSV,TSV,SequenceFiles and TextFile)

Day 15 :

Python Advanced Datatypes :

  • Python Deque Objects

  • Python orderedDict

  • Python defaultDict

  • Python FrozenSet

  • Python namedTuples

  • Python Sets & FrozenSets

Python Optimizations(Comprehensions)

  • Python List Comprehensions

  • Python Set Comprehensions

  • Python Dictionary Comprehensions

  • Python Set Comprehensions

Day 16 : Python Advanced Topics

  1. NumbPy

  2. Pandas

  3. Implementing Web Scrapping in Python using Beautiful Soup (bs4)

  4. NLP Implementation with Python using NLTK.

a) What IS NLP

b) Benefits of NLP

c) Word Stemming

d) Word Tokenizing, Stop Words

Last updated