0% found this document useful (0 votes)
5 views10 pages

Python Notes

The document provides an overview of AI and Machine Learning, emphasizing the mathematical principles behind them and the programming languages used, particularly Python. It details Python's characteristics, installation methods, and various libraries for different domains such as data analysis and web development. Additionally, it covers basic Python concepts including variables, data types, input/output functions, keywords, comments, and operators.

Uploaded by

thejaswig
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views10 pages

Python Notes

The document provides an overview of AI and Machine Learning, emphasizing the mathematical principles behind them and the programming languages used, particularly Python. It details Python's characteristics, installation methods, and various libraries for different domains such as data analysis and web development. Additionally, it covers basic Python concepts including variables, data types, input/output functions, keywords, comments, and operators.

Uploaded by

thejaswig
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

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

You might also like