About

Python

Python Programme Outcome

Python First Step

Installing Python

Working in Python

Using Python as a Calculator

Python First programme


Variable in Python

What is Variable

Variable Assignment

Naming Rules for Variables


Datatypes in Python

Numeric Data Type

Boolean

String

Sequence Data Tpe

Set Data Type

Mapping Data Type


Operators in Python

Types of Operator In Python


Reading Input

keyboard input

Input as an integer

input as a float


Print Statement in Python

Print Example in Python

Using sep in Python Print

Python end Keyword in Print


Decision Making

If Statements

Indentation in Python

Colon(:) in Python

If - Else in Python

If-elif-else in Python

Nested IF

Use of 'AND' Operator with 'If'


Loop In Python

While Loop In Python

Python While with Else Statement

Use of If - Else Within While Block


For Loop In Python

For Loop With List

The Range() Function

Python For Loop with Range()


Python- Break,Continue and Pass

Python Break statement

Python Continue statement

Pass statement in Python()


Python- List

What is List

How to Create a List

Accessing List Element

Slicing List In Python

Modify List in Python

Delete an Item from the List


Python- Tuple

What is Tuple

How to Create a Tuple

Create a Tuple with single Element

Accessing Element of Tuple

Slicing Tuple In Python

Loop Through a Tuple

Update Tuple in Python

Delete a Tuple

Useful functions in Tuple


Python- Dictionary

What is a Dictionary

How to Create a Dictionary

Create a Tuple with single Element

Accessing Element of a Dictionary

Loop Through a Dictionary

Update Dictionary in Python

Delete an item from the Dictionary


Python- SET

What is a Set

How to Create a Set

Access Item Of The Set

Add Element to The Set

Delete Element From The Set/li>

Set Operations In Python


Python- String

What is a String

How to Create a String in Python

Access Character and Slicing in String

Python String Operation

String Format Method

Important Method in String


Functions

What is Function

Types of Function

How to Create a Function

Call a Function

Function Argument And Return Keyword

Different Type of argument

Recursive Function


Modules

Defining Modules

Types of Module

Built in Module

User Define Module

Import Python Module

Aliasing Modules

Packages


Exception Handling

Handling an Exception

Multiple except with a try

Python Finally block/li>

Raise an Exception

else clause with try-except


File Handling in Python

What is a File?

Create, Open and Close a File

Python Read a File

Using ‘with’ as a keyword

Python File Write

Append Data to a File

Python File Modes


Errors and Exceptions

Syntax Errors and Exceptions

Handling Exceptions

Raising Exceptions

User-defined Exceptions


Object ? Orientation with python

A First Look at Classes

Class Definition Syntax

Class Objects


Inheritance in Python

A Program with Multiple Classes

Python Inheritance Syntax

Simple Inheritance in Python

Method Overriding in Python

Using super() function

Constructor in Inheritance

Calling Parameterised Constructor

Types of Inheritance


Polymorphism

What is Polymorphism

Function Polymorphism in Python

Class Polymorphism in Python

polymorphism and Inheritance


Python Database Connection

Why Database Connection?

Software Requirement

Connecting MYSQL

Create Database from Python