0% found this document useful (0 votes)
77 views

Prompt Engineering Using Python - 20230922 - 164305 - 0000

This document provides an overview of key Python concepts including: 1) An introduction to Python that discusses what Python is, its history and features. 2) Python fundamentals including keywords, data types, operators and strings. 3) Common Python data structures - lists, tuples, sets and dictionaries. 4) Functions, modules, object-oriented programming concepts like classes and inheritance. 5) Other commonly used Python modules like NumPy, Pandas, Matplotlib and popular machine learning algorithms. 6) OpenCV basics for computer vision tasks and an introduction to building chatbots and integrating with APIs.

Uploaded by

siddulasaipavan4
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
77 views

Prompt Engineering Using Python - 20230922 - 164305 - 0000

This document provides an overview of key Python concepts including: 1) An introduction to Python that discusses what Python is, its history and features. 2) Python fundamentals including keywords, data types, operators and strings. 3) Common Python data structures - lists, tuples, sets and dictionaries. 4) Functions, modules, object-oriented programming concepts like classes and inheritance. 5) Other commonly used Python modules like NumPy, Pandas, Matplotlib and popular machine learning algorithms. 6) OpenCV basics for computer vision tasks and an introduction to building chatbots and integrating with APIs.

Uploaded by

siddulasaipavan4
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

Python Programming

Introduction to Python
What is Python?
Why Python?
History
Features
Free and Open source
Why Python is General Language?
Limitations of Python

Python Language Fundamentals


Keywords
Identifiers variables Data types
Python VS JAVA Python Syntax

Operators
Arithmetic Operators, Comparison Operators
Python Assignment Operators Logical Operators
Bitwise Operators
Membership Operators Identity Operator

Strings
What is string
Strings Processing elements using indexing.
Processing elements using Iterators.
Manipulation of String using Indexing and Slicing.
Methods of String object String Formatting.
String functions String Immutability.

List Collection
What is List
Need of List collection
Indexing and Slicing
List object methods List is Mutable
Mutable and Immutable elements of List
Nested Lists List_of_lists
Tuple Collection
What is tuple?
Different ways of creating Tuple Method of Tuple object
Tuple is Immutable
Mutable and Immutable elements of Tuple Process tuple through
Indexing and Slicing List v/s Tuple

Set Collection
What is set?
Different ways of creating set Difference between list and set Accessing
elements of set Python Set Methods
Python Set Operations Union of sets
functions and methods of set
Python Frozen set
Difference between set and frozenset ?

Dictionary Collection
What is dictionary?
Difference between list, set and dictionary
How to create a dictionary? Accessing values of dictionary Python
Dictionary Methods Copying dictionary
Updating Dictionary
Reading keys from Dictionary Reading values from Dictionary
Reading items from Dictionary Delete Keys from the dictionary
Sorting the Dictionary
Python Dictionary Functions and methods

Functions
What is Function? Advantages of functions Syntax and Writing
function Calling or Invoking function Classification of Functions
Lambda functions/Anonymous functions
map() filter() reduce()
Non local variables, global variables
Python Modules
Importance of modular programming
What is module
Types of Modules – Pre defined, User defined.
User defined modules creation Functions based modules Import
module
From ... import

OOPS
Procedural v/s Object oriented programming Principles of OOP –
Encapsulation , Abstraction (Data Hiding)
Classes and Objects
How to define class in python
Types of variables – instance variables, class
variables.
Types of methods – instance methods, class method, static method
self’ reference variable Encapsulation(Data Binding) What is
polymorphism?
Overriding
i) Method overriding ii)Constructor overriding Overloading
iii)Method Overloading iv)Constructor Overloading
inheritance – single , multi level, multiple,
hierarchical and
hybrid inheritance and Diamond inheritance Constructors in
inheritance
Object class super() Abstraction

Exception Handling
Types of Errors What is Exception?
Why exception handling? Syntax error v/s Runtime error Try with
multi except
Handling multiple exceptions with single except block
Finally block
Try-except-finally Try with finally Raise keyword
Custom exceptions / User defined exceptions Need to Custom
exception
Web devlopment
Django intro,
Project Setup
Models, views & urls
Admin panel
Template
Project deployment

Numpy Module
Introduction to Numpy
Arrays in Numpy
Indexing and Slicing in Numpy
Basic Operations in Numpy
Math Functions in Numpy
Statistics in Numpy
Random Number Generation in Numpy

Pandas Module
Introduction to Pandas
Series in Pandas
DataFrames in Pandas
Data Cleaning in Pandas
Data Manipulation in Pandas
Data Aggregation in Pandas
Merging, Joining, and Concatenating DataFrames in Pandas

Matplotlib
Introduction to Matplotlib
Basic Plotting with Matplotlib
Customizing Plots in Matplotlib
Subplots in Matplotlib
Advanced Plotting with Matplotlib
Saving Plots in Matplotlib
Machine Learning Algoritms
Linear Regression
Logistic Regression
Decision Trees
Random Forest
Naive Bayes
K-Nearest Neighbors
Support Vector Machines
K-Means Clustering
Neural Networks

OpenCV Basics
Introduction to OpenCV
What is OpenCV?
Why use OpenCV?
Installing OpenCV

Reading and Writing Images


Loading and displaying images
Saving images to disk

Basic Image Operations


Accessing and modifying pixel values
Image resizing
Image cropping
Image flipping and rotating

Object Detection and Recognition


Template matching
Object detection using Haar cascades

Image Segmentation
Thresholding
Contour detection
Watershed algorithm
OpenCV Video Basics
Video Processing
Reading and writing videos
Video streaming
Object tracking

ChatGPT/OpenAI integration
Introduction to OpenAI API
Getting Started with OpenAI API
Creating an OpenAI account
OpenAI API Models
Choosing the right model for your task
Model input and output formats
Using GPT-3 for text generation
Fine-tuning GPT-3 for specific tasks

LLM Integretion
Introduction to LLM
Models
Text Processing
Memory Managment
Conversation Chains
Agents

Projects
ChatBots
Personalized web apps
Document Readers
Many more...

You might also like