Python training

Python

Python Course Content

Core Python:-

Introduction to Languages

• What is a Programming Language?

• Low-level Language

• High-level Language

• Compiler

• Interpreter


Introduction to Python

• What is Python?

• WHY PYTHON?

• History

• Features – Dynamic, Interpreted, Object oriented, Extensible, Large standard libraries, Free and Open source

• Why Python is General Language?

• Limitations of Python

• Python implementations

• Python applications

• Python versions

• PYTHON IN REALTIME INDUSTRY

• Difference between Python 2.x and 3.x

• Difference between Python 3.7 and 3.8


Python Software’s

• Python Distributions

• Download & Python Installation Process in Windows, Unix, Linux and Mac

• Online Python IDLE

• Python Real-time IDEs like Spyder, Jupyter Note Book, PyCharm, Rodeo, Visual Studio Code, ATOM, PyDev etc


Python Language Fundamentals

• Python Implementation Alternatives/Flavors

• Keywords

• Identifiers

• Constants / Literals

• Data types

• PYTHON VS Java


First program in Python

• Structure of Python program

• First Python Program

• Comments in Python

• Python file extensions(.py)

• Setting Path in Windows

• Edit and Run python program without IDE

• Edit and Run python program using IDEs

• INSIDE PYTHON

• Programmers View of Interpreter

• Inside INTERPRETER

• What is Byte Code in PYTHON?

• Python Debugger


Python Variables

• String Formatting in Python

• Math, Random, Secrets Modules

• Introduction

• Initialization of variables

• Local variables

• Global variables

• ‘global’ keyword

• Input and Output operations

• Data conversion functions – int(), float(), complex(), str(), chr(), ord()


Operators

• Arithmetic Operators

• Comparison Operators

• Python Assignment Operators

• Logical Operators

• Bitwise Operators

• Shift operators

• Membership Operators

• Identity Operators

• Ternary Operator

• Operator precedence

• Difference between “is” vs “==”


Input & Output Operators

• Print

• Input

• Command-line arguments


Control Statements

• Conditional control statements

• If

• If-else

• If-elif-else

• Nested-if

• Loop control statements

• for

• while

• Nested loops

• Branching statements

• Break

• Continue

• Pass

• Return


Data Structures or Collections

• Introduction

• Importance of Data structures

• Applications of Data structures

• Types of Collections

• Sequence

• Strings, List, Tuple, range

• Non sequence

• Set, Frozen set, Dictionary


Strings

• What is string

• Representation of Strings

• Processing elements using indexing

• Processing elements using Iterators

• Manipulation of String using Indexing and Slicing

• String operators

• Methods of String object

• String Formatting

• String functions

• String Immutability


List Collection

• What is List

• Need of List collection

• Different ways of creating List

• List comprehension

• List indices

• Processing elements of List through Indexing and Slicing

• List object methods

• List is Mutable

• Mutable and Immutable elements of List

• Nested Lists

• List_of_lists

• zip() in Python

• How to unzip?

• Python Arrays:


Tuple Collection

• What is tuple?

• Different ways of creating Tuple

• Method of Tuple object

• Tuple is Immutable

• Mutable and Immutable elements of Tuple

• Process tuple through Indexing and Slicing

• List v/s Tuple


Set Collection

• What is set?

• Different ways of creating set

• Difference between list and set

• Iteration Over Sets

• Accessing elements of set

• Python Set Methods

• Python Set Operations

• Union of sets

• functions and methods of set

• Python Frozen set

• Difference between set and frozenset ?


Dictionary Collection

• What is dictionary?

• Difference between list, set and dictionary

• How to create a dictionary? 

• PYTHON HASHING?

• Accessing values of dictionary

• Python Dictionary Methods

• Copying dictionary

• Updating Dictionary

• Reading keys from Dictionary

• Reading values from Dictionary

• Reading items from Dictionary

• Delete Keys from the dictionary

• Sorting the Dictionary

• Python Dictionary Functions and methods

• Dictionary comprehension


Functions

• What is Function?

• Advantages of functions

• Syntax and Writing function

• Calling or Invoking function

• Classification of Functions

o No arguments and No return values

o With arguments and No return values

o With arguments and With return values

o No arguments and With return values

o Recursion

• Python argument type functions :

o Default argument functions

o Required(Positional) arguments function

o Keyword arguments function

o Variable arguments functions

• ‘pass’ keyword in functions

• Lambda functions/Anonymous functions

o map()

o filter()

o reduce()

• Nested functions

• Non local variables, global variables

• Closures

• Decorators

• Generators

• Iterators

• Monkey patching


Advanced Python:

Python Modules

• Importance of modular programming

• What is module

• Types of Modules – Pre defined, User defined.

• User defined modules creation

• Functions based modules

• Class based modules

• Connecting modules

• Import module

• From … import

• Module alias / Renaming module

• Built In properties of module


Packages

• Organizing python project into packages

• Types of packages – pre defined, user defined.

• Package v/s Folder

• py file

• Importing package

• PIP

• Introduction to PIP

• Installing PIP

• Installing Python packages

• Un installing Python packages


OOPs

• Procedural v/s Object oriented programming

• Classes and Objects

• Principles of OOP – Encapsulation , Abstraction (Data Hiding)

• How to define class in python

• Types of variables – instance variables, class variables.

• Types of methods – instance methods, class method, static method

• Object initialization

• ‘self’ reference variable

• ‘cls’ reference variable

• Access modifiers – private(__) , protected(_), public

• AT property class

• Property() object

• Creating object properties using setaltr, getaltr functions

• Encapsulation(Data Binding)

• What is polymorphism?

• Overriding

i. Method overriding

ii. Constructor overriding

• Overloading

i. Method Overloading

ii. Constructor Overloading

iii. Operator Overloading

• Class re-usability

• Composition

• Aggregation

• Inheritance – single , multi level, multiple, hierarchical and hybrid inheritance and Diamond inheritance

• Constructors in inheritance

• Object class

• super()

• Runtime polymorphism

• Method overriding

• Method overriding in Multiple inheritance and Hybrid Inheritance

• Duck typing

• Concrete Methods in Abstract Base Classes

• Difference between Abstraction & Encapsulation

• Inner classes

• Introduction

• Writing inner class

• Accessing class level members of inner class

• Accessing object level members of inner class

• Local inner classes

• Complex inner classes


Exception Handling & Types of Errors

• What is Exception?

• Why exception handling?

• Syntax error v/s Runtime error

• Exception codes – AttributeError, ValueError, IndexError, TypeError…

o Handling exception – try except block

o Try with multi except

o Handling multiple exceptions with single except block

• Finally block

o Try-except-finally

o Try with finally

o Case study of finally block

• Raise keyword

o Custom exceptions / User defined exceptions

o Need to Custom exceptions


Regular expressions

• Understanding regular expressions

• String v/s Regular expression string

• “re” module functions

• Match()

• Search()

• Split()

• Findall()

• Compile()

• Sub()

• Subn()

• Expressions using operators and symbols

• Simple character matches

• Special characters

• Character classes

• Mobile number extraction

• Mail extraction

• Different Mail ID patterns

• Data extraction

• Password extraction

• URL extraction

• Vehicle number extraction


File &Directory handling

• Introduction to files

• Opening file

• File modes

• Reading data from file

• Writing data into file

• Appending data into file

• Line count in File

• CSV module

• Creating CSV file

• Reading from CSV file

• Writing into CSV file

• Object serialization – pickle module

• XML parsing

• JSON parsing


Python Logging

• Logging Levels

• implement Logging

• Configure Log File in over writing Mode

• Timestamp in the Log Messages

• Python Program Exceptions to the Log File

• Requirement of Our Own Customized Logger

• Features of Customized Logger


Date & Time module

• How to use Date & Date Time class

• How to use Time Delta object

• Formatting Date and Time

• Calendar module

• Text calendar

• HTML calendar


OS module

• Shell script commands

• Various OS operations in Python

• Python file system shell methods

• Creating files and directories

• Removing files and directories

• Shutdown and Restart system

• Renaming files and directories

• Executing system commands


Multi-threading & Multi Processing

• Introduction

• Multi tasking v/s Multi threading

• Threading module

• Creating thread – inheriting Thread class , Using callable object

• Life cycle of thread

• Single threaded application

• Multi threaded application

• Can we call run() directly?

• Need to start() method

• Sleep()

• Join()

• Synchronization – Lock class – acquire(), release() functions


Python Data Base Communications(PDBC)

• Introduction to DBMS applications

• File system v/s DBMS

• Communicating with MySQL

• Python – MySQL connector

• connector module

• connect() method

• Oracle Database

• Install cx_Oracle

• Cursor Object methods

• execute() method

• executeMany() method

• fetchone()

• fetchmany()

• fetchall()

• Static queries v/s Dynamic queries

• Transaction management


Python – Network Programming

• What is Sockets?

• What is Socket Programming?

• The socket Module

• Server Socket Methods

• Connecting to a server

• A simple server-client program

• Server

• Client


Tkinter & Turtle

• Introduction to GUI programming

• Tkinter module

• Tk class

• Components / Widgets

• Label , Entry , Button , Combo, Radio

• Types of Layouts

• Handling events

• Widgets properties


Numpy & Pandas

• Numpy Introduction

• Numpy Datatypes

• Numpy Arrays

• Numpy Indexing & Slicing

• Numpy – Iterating over Array

• Numpy – Array Manipulation

• Numpy – String Functions

• Numpy – Arithmetic Operations

• Numpy – Sort, Search & Counting Functions

• Numpy – Matrix Library


• Pandas Introduction

• Pandas – Introduction to Data Structures

• Pandas – DataFrame 

• Pandas – Function Application

• Pandas – Re-indexing 

• Pandas – Sorting 

• Pandas – Indexing & Selecting Data

• Pandas – Missing Data

• Pandas – GroupBy

• Pandas – Visualization


Data analytics modules

• Numpy

• Pandas

• MatPlotLib Introduction

• Drawing plots

• Introduction to Machine learning

• Types of Machine Learning?

 

Tags: python training in ameerpet, python course in ameerpet