Python Online Training

Python Online Training Overview

In this Python online training course, students learn to program in Python. The course is aimed at students new to the language who may or may not have experience with other programming languages.

This Python course is taught using Python 3; however, differences between Python 2 and Python 3 are noted.

Objectives Of the Course

  • Master the fundamentals of writing Python scripts
  • Write Python functions to facilitate code reuse
  • Use Python to read and write files
  • Make their code robust by handling errors and exceptions properly
  • Work with the Python standard library
  • Explore Python’s object-oriented features
  • Search text using regular expressions
  • how to build and package Python modules for reusability

Pre-requisites

  • Experience with Programming Languages C/C++, Java, MATLAB
  • Prior knowledge of a scripting languages Perl, UNIX/Linux shells and Object-Oriented concepts is helpful

Who should do the course

  • Freshers and Graduates

Course Duration

  • 40 Hrs

Python Online Course Content

Introduction to Programming

  1. The need of Python Programming
  2. Programs and Translations
  3. Compile v/s Interpreter
  4. Script v/s Program

Python is Scripting Language and Programming Language

Installation of Python

Python IDEs

Procedure Oriented / Object-Oriented Programming

Program elements and Structure

Variables

  1. Local variables
  2. Global variables
  3. ‘global’ keyword
  4. Rules of Identities

Functions

  1. Introduction
  2. Prototype
  3. Classification of functions
    1. No arguments and No return values
    2. With arguments and With return values
  • No arguments and With return values
  1. With arguments and No return values
  2. Recursion
  3. Argument type functions
    1. Default arguments functions
    2. Required arguments functions
  • Keyword arguments functions
  1. Variable arguments function

Operators

  1. Arithmetic Operators
  2. Relational operators
  3. Logical operators
  4. Bitwise operators
  5. Shift operators

Control Statements

  1. Conditional Control Statements
    1. if
    2. if-else
  • if-elif-else
  1. nested-if
  1. Loop Control Statements
    1. While
    2. For
  • Nested loops
  1. Branching Statements
    1. Break
    2. Continue
  • Pass
  1. Return
  2. Exit

Object-Oriented Programming

  1. Introduction to OOPs
  2. Classes
  3. Objects
  4. Structure to OOP application
  5. Contexts of OOP application
  6. Class level members
  7. Object level members
  8. self variable
  9. Constructor and Initialization of object

Access modifiers

  1. Private
  2. Protected
  3. Public
  4. Program codes.

Encapsulation

  1. Introduction
  2. Rules
  3. Implementation

Inheritance

  1. Introduction
  2. Types of Inheritance
  3. Single inheritance
  4. Multi-Level inheritance
  5. Method overriding
  6. Object initialization using constructor
  7. Multiple inheritances
  8. Hierarchical inheritance
  9. Method overriding in Multi-level inheritance

Abstraction

Polymorphism

String handling

  1. Introduction to Strings
  2. Indexing and Slicing
  3. Special operators in String handling
  4. Old style String formatting
  5. String library methods
  6. Quotes and Escape characters in a String representation
  7. String Immutability
  8. Logical programs using Strings

Modules

  1. Introduction
  2. Importance of Modularity programming
  3. Import keyword
  4. User defined modules creation
  5. Function based modules
  6. Classes based modules
  7. Connecting modules
  8. ‘from’ keyword.

Packages

Exception Handling

  1. Introduction
  2. The need of exception handling
  3. Getting exceptions
  4. Default exception handler
  5. Handling exception
    1. Try
    2. Except
  1. Try with multiple except blocks
  2. Handling exceptions using Exception class
  3. Finally, block
  4. Releasing resources using Finally block
  5. Raise
    1. Creating a user exception class.
    2. Raise exception manually
  • The need for using exceptions.
  1. Exceptions based application

Multithreading

  1. Introduction
  2. Multitasking
  3. Multi-tasking v/s Multithreading
  4. threading module
  5. Thread class introduction
  6. Creating thread
  7. The life cycle of a thread
  8. Single-threaded application
  9. Multi-threaded application
  10. Sleep() method
  11. Sleep() v/s run()
  12. Join() v/s Sleep()
  13. Multiple custom threads creation
  14. The execution time of single-threaded application
  15. The execution time of multi-threaded application
  16. Synchronization of threads.

Inner classes

  1. Introduction
  2. Basic syntax of inner class
  3. Advantages of Inner classes
  4. Access class level members of inner classes
  5. Access object level members of inner classes
  6. Local inner classes
  7. Complex inner classes
  8. Accessing data of inner classes.

Tkinter – GUI

  1. Introduction
  2. Types of Layouts
  3. Create Labels and Display images
  4. Create Buttons
  5. Create Events
  6. StringVar class
  7. Calculator program using GUI

Regular expressions

  1. Introduction
  2. ‘re’ module
    1. Match()
    2. Search()
  • Findall()
  1. Split()
  2. Compile()
  3. Sub()
  1. Expressions using operators and symbols
    1. Split string into characters
    2. Split string into words
  • Mail extraction
  1. Date extraction
  2. Mobile number extraction
  3. Vehicle number extraction

Lambda expressions

Collections Framework

  1. Introduction to collection of data types
  2. Importance of Data processing
  3. DS algorithms introduction
  4. List
    1. Create a list
    2. Adding elements
  • Deleting elements
  1. Pre-defined functionality of List
  2. Nested List
  3. Immutability and Mutability of List
  • Practice codes.
  1. Tuples :
    1. Create tuple
    2. Difference between List and Tuple
  • Add and Delete items.
  1. Immutability of Tuple
  2. Practice codes
  3. Nested tuples
  4. Sets :
    1. Create List
    2. Add and Delete items
  • The functionality of Set object
  1. Frozen set
  2. Dictionaries :
    1. Create a dictionary
    2. Adding elements
  • Pre-defined functions of Dict class
  1. Programs using Collection types.

Garbage collection

  1. Introduction
  2. Importance of manual GC
  3. Self-referenced objects
  4. ‘gc’ module
  5. Collect() method
  6. Threshold function

MySQL Connectivity

  1. Introduction to Mysql
  2. Mysql – Python connectivity
  3. Execute DDL commands
  4. Execute DRL commands
  5. Execute DML commands
  6. Transaction management examples (rollback and commit)
  7. GUI – Database connectivity

Files

  1. Introduction
  2. Reading file char by character
  3. Reading file line by line
  4. Modes of files
  5. Writing into file
  6. Append data to a file
  7. Reading CSV file
  8. Pickling and Un pickling

Iterators

Nested functions

Generators

Closures

Decorators

AT property class

PIP

Time module

Calendar module

OS module

  1. Execute system commands
  2. Create files and directories
  3. Create subdirectories
  4. Remove files and directories
  5. Renaming files

Introduction to Django Framework