CORE PYTHON

CORE PYTHON - Contents

Python training in west delhi

Core Python

Module 1

Core Python

a. History and Background

b. Comparison with other Programming Languages

c. Installation and Environment Setup

  • Working in IDLE and CMD
  • Working in VS-Code
  • Working in Jupyter Notebook (Anaconda)
  • Working in Google Colaboratory (with Google Drive)

d. Writing your First Python Program

Module 2

Core Python training in west delhi

a. Displaying a Message

b. Datatypes and Variables

c. String Operations

  • Concatenation
  • Using title(), upper(), lower(), lstrip(), rstrip(), strip()

d . Arithmetic Operations

  • Add, Subtract, Multiply, Divide, Modulus
  • Using ** and //
  • Using Math Functions [import math] : sqrt(), factorial(), pow(), pi

e . Conditional Statements with Relational and Logical Operators

  • If… Else
  • If… Elif… Else
  • Nested if… Else

f . Loops and Ranges

  • While loop
  • range() and for loop
  • Creating Patterns
  • Using break, continue and pass statements

g . Basic Data Structures

  • a. List using [ ]  
    • Using append(), extend(), insert(), remove(), pop(), clear(), index(), count(), sort(), reverse(), copy(), len(), max(), min(), range()
  • b. Slicing a List using [_:_:_] notation
  • c. Tuples using ( )
  • d. Dictionary using { key : value }
    • Using clear(), copy(), fromkeys(), get(), items(), keys(), popitem(), setdefault(),pop(), len(), del
  • e. Set using { }
    • Using add(), remove(), discard(), union(), intersection(), isdisjoint(), difference()

Comprehension

  • List Comprehension
  • Dictionary Comprehension
  • Set Comprehension

Working  with  Strings 

  • String representation and structure
  • String input and output
  • String Slicing
  • String Functions

Function 

  • Definition and Types of Function
  • Working with Global and Local Variables
  • Anonymous Function
  • Recursive Function
  • Using *args and **kwargs
  • Generators

Modules  &  Package

  • Introduction to Modules
  • Importing a module
  • Working with math and os modules
  • Working with datetime module

File  Handling 

  • Definition
  • Opening and Closing a File
  • Writing and Reading a File
  • File Methods

Exceptional  Handling

  • Definition and Example of Exception
  • Using try and except block
  • Using raise keyword
  • Using finally block
  • Using try with else block

Object  Oriented  Programming 

  • Definition
  • Classes and Objects
  • Encapsulation
  • Inheritance
  • Polymorphism

Regular  Expressions 

  • Introduction to CFG
  • Match Function
  • Search Function
  • Matching VS Searching
  • Patterns