Introduction
22 December 2025 20:34
AI and Machine Learning are built on mathematical principal like
Calculus, Linear Algebra, Probability, Statical Concept
Python : AI, Machine learning, Web Development, Software engineering, Data Analysis, Mobile Application
Java
JavaScript
R
C, C++
Julia
Scala
Static Programming Lanuguage Dynamic Programming Language
Complier: Complier is responsible to convert source code (High level language) to byte code (Machine Language)
Interpreter: It is the combination of Complier and Virtual Machine (PVM - Python Virtual Machine)
Definition of Python:
Python is:
High Level Programming Language
Domically Typed Language
Python Page 1
Domically Typed Language
Interpreted
Large Standard Libraries
Portable - Windows, Linux, Mac
Object-Oriented Programming Language - Important for S/W development
Extensible Features - to work with other programming language
Free & open source
Installation:
Anaconda Installation | Jupyter Notebook | Vid-2 | Spyder | Python Tutorial
Internal: [Link]
External:
a. Anaconda: [Link] / [Link]
i. Jupyer Notebook
ii. Spyder
b. Pycharm
c. VSCode
List of Python libraries in different domain
Data Analysis: Numpy, Pandas, Matplotlib, seaborn, plotly
Machine Learning: Sciket-learn
Deep Learning: Tensorflow, Pytorch, NLTK..
Web Development: Django, Flask, FastAPI
Mobile Application: Kevy
Networking Automation: NetMiko, ParaMiko
Python Page 2
Python Page 3
Basics of Python
22 December 2025 22:02
Variable:
Variable is a memory allocation which contain the data according to the data type.
Data Type:
It's Define the type of data
Input/Output Function:
Python Page 4
Input/Output Function:
Keywords:
Keyword is a pre-defined word, which is use for some specific work only.
It can't be use as a identifier.
Identifiers: Variable Name, Class name, Function name
Comments:
def calculation(x, y):
"""This function calculates the sum and difference of two numbers."""
add = x+y
sub = x-5
return add, sub
Operators
Python Page 5
Operators
Operator is a symbol which is responsible to perform some operation.
1. Arithmetic Operator
2. Assignment Operator
3. Relationship Operator / Compression and Conditional operators
4. Logical Operator
5. Bitwise Operator
6. Identity Operator
7. Membership Operator
Python Page 6
Data Type
24 December 2025 20:52
1. Numeric
2. String
Python Page 7
%s = String
%i = integer
%f = float
%c = character
#Raw String & Escape Sequence
\n = next line
\t = tab
\b = backspace
\r = reserverd
\a = alert
3. Tuple Data type It is working as container.
Tuple is immutable and ordered data type.
Python Page 8
• Useful as secure container, because of immutability
4. List Data Type
Python Page 9
Agenda
26 December 2025 20:39
Revise
History of python
String Data type
Tuple
List Data type
Python Page 10