SlideShare a Scribd company logo
1 of 38
PYTHON
LECTURE 1
Today’s Agenda
An Introduction to Python
• Necessity Of Programming
• What Is Python ?
• Why And Who Created It ?
• What Python Can Do ?
• Why Should I Learn Python In 2019 ?
• Important Features
Why Do We Need Programming ?
• To communicate with digital machines and make them
work accordingly
• Today in the programming world , we have more than
850 languages available.
• And every language is designed to fulfill a particular
kind of requirement
Brief History Of Prog. Lang
 C language was primarily designed to develop “System
Softwares” like Operating Systems, Device Drivers etc .
 To remove security problems with “C” language , C++
language was designed.
 It is an Object Oriented Language which provides data
security and can be used to solve real world problems.
 Many popular softwares like Adobe Acrobat , Winamp Media
Player,Internet Explorer,Mozilla Firefox etc were designed in
C++
Courtsey:http://www.stroustrup.com/applications.html
What is Python ?
 Python is a general purpose and powerful
programming language.
 Python is considered as one of the most versatile
programming language as it can be used to develop
almost any kind of application including desktop
application , web applications , mobile
application , network programming , image
processing and many more.
Who created Python ?
 Developed by Guido van
Rossum , a Dutch scientist
 Created at Center For
Mathematics and
Research , Netherland
 It is inspired by another
programming language
called ABC
Why was Python
created ?
 Guido started Python
development as a hobby in
1989
 But since then it has grown to
become one of the most
polished languages of the
computing world.
How Python got
it’s name?
 The name Python is inspired
from Guido’s favorite
Comedy TV show called
“Monty Python’s Flying
Circus”
 Guido wanted a name that
was short, unique, and
slightly mysterious, so he
decided to call the language
Python.
Who manages Python
today ?
 From version 2.1 onwards ,
Python is managed by
Python Software
Foundation situated in
Delaware , USA
 It is a non-profit
organization devoted to the
growth and enhancement of
Python language
 Their website is
http://www.python.org
What Python can do ?
 GUI Application
 Web Application
 Data Analysis
 AI & ML
 Raspberry Pi
 Hacking
GUI In Python
 Python is used for GUI
apps all the time.
 It has famous libraries
like PyQT , Tkinter to
build desktop apps.
Web Application
In Python
 We can use Python to
create web
applications on many
levels of complexity
Famous Websites Developed
Using Python
 There are numerous examples of popular, high-
load websites/webapps that have been developed
using Python.
 Here are some of the most popular of them:
 NASA
 Instagram
 Mozilla
 Spotify
 Reddit
 Dropbox
 And above all YouTube
Web Application
In Python
 There are many
excellent Python
frameworks like
Django, Flask for web
application
development
Data Analysis In Python
 Data Analysis is about
making predictions
with data
Some Examples
 How do you think Super
Market stores decide
what products to keep in
stock?
 What are the items they
should club together to
make a combo?
 How it happens ?
 Answer: Data analytics
Some Examples
 Have you noticed that
every time you log on to
Google, Facebook and
see ads, they are based
on your preferences ?
 How it happens ?
 Answer: Data analytics
Data Analysis In Python
 Python is the leading
language of choice for
many data scientists
 It has grown in
popularity due to it’s
excellent libraries like
Numpy , Pandas etc
AI & ML
In Python
 Machine learning is a field
of AI (Artificial
Intelligence) by using
which software
applications can learn to
increase their accuracy for
the expecting outcomes.
 It is heavily used in Face
recognition , music
recommendation ,
medical data etc
 Python has many wonderful
libraries to implement ML
algos like SciKit-Learn ,
Tensorflow etc
Raspberry Pi
In Python
 The Raspberry Pi is a
low cost, credit-card
sized computer that
plugs into a computer
monitor or TV, and
uses a standard
keyboard and mouse.
 It can do almost
everything a normal
desktop can do
Raspberry Pi
In Python
 We can build Home
Automation System
and even robots using
Raspberry-Pi
 The coding on a
Raspberry Pi can be
performed using
Python
Hacking In Python
 Python has gained
popularity as
preferred language for
hacking.
 Hackers generally
develop small scripts
and Python provides
amazing performance
for small programs
Why should
I learn Python ?
 3rd most popular programming
 Fastest growing language
 Opens lots of doors
 Big corporate prefer Python
 Means , PYTHON IS THE
FUTURE
Who uses Python
today ?
Features Of Python
 Simple
 Dynamically Typed
 Robust
 Supports multiple programming paradigms
 Compiled as well as Interpreted
 Cross Platform
 Extensible
 Huge Library
Simple
 Python is very simple
 As compared to other popular languages like Java and
C++, it is easier to code in Python.
 Python code is comparatively 3 to 5 times smaller than
C/C++/Java code
Print Hello Bhopal!
IN C
#include <stdio.h>
int main(){
printf("Hello Bhopal!");
return 0;
}
IN JAVA
public class HelloWorld{
public static void main( String[] args ) {
System.out.println( "Hello Bhopal!" );
}
}
IN PYTHON
print('Hello Bhopal!')
Add 2 Nos
IN C
#include <stdio.h>
int main(){
int a=10,b=20;
printf(“Sum is %d”,a+b);
return 0;
}
IN JAVA
public class HelloWorld{
public static void main( String[] args ) {
int a=10,b=20;
System.out.println( “Sum is “+(a+b));
}
}
IN PYTHON
a,b=10,20
print(“Sum is”,a+b)
Swap 2 Nos
IN C
int a=10,b=20,temp;
temp=a;
a=b;
b=temp;
IN JAVA
int a=10,b=20,temp;
temp=a;
a=b;
b=temp;
IN PYTHON
a,b=10,20
a,b=b,a
Dynamically Typed
Dynamically Typed
IN Python
a=10
a=“Bhopal”
IN C
int a;
a=10;
a=“Bhopal”;
Robust
 Python has very strict rules which every program must
compulsorily follow and if these rules are violated then Python
terminates the code by generating “Exception”
 To understand python’s robustness , guess the output of the
following /C++ code:
int arr[5];
int i;
for(i=0;i<=9;i++)
{
arr[i]=i+1;
}
Robust
 In Python if we write the same code then it will generate
Exception terminating the code
 Due to this other running programs on the computer do
not get affected and the system remains safe and secure
Supports Multiple
Programming Paradigms
 Python supports both procedure-oriented and object-
oriented programming which is one of the key python
features.
 In procedure-oriented languages, the program is built
around procedures or functions which are nothing but
reusable pieces of programs.
 In object-oriented languages, the program is built
around objects which combine data and functionality
Compiled
As Well As Interpreted
 Python uses both a compiler as well as interpreter for
converting our source and running it
 However , the compilation part is hidden from the
programmer ,so mostly people say it is an interpreted
language
Cross Platform
 Let’s assume we’ve written a Python code for our
Windows machine.
 Now, if we want to run it on a Mac, we don’t need to make
changes to it for the same.
 In other words, we can take one code and run it on any
machine, there is no need to write different code for
different machines.
 This makes Python a cross platform language
Extensible
 Python allows us to call C/C++/Java code from a
Python code and thus we say it is an extensible language
 We generally use this feature when we need a critical piece
of code to run very fast .
 So we can code that part of our program in C or C++ and
then use it from our Python program.
Huge Library
 The Python Standard Library is huge indeed.
 It can help you do various things like Database
Programming , E-mailing ,GUI Programming etc

More Related Content

Similar to Basic Python Introduction Lecture 1.pptx

Mastering the Interview: 50 Common Interview Questions Demystified
Mastering the Interview: 50 Common Interview Questions DemystifiedMastering the Interview: 50 Common Interview Questions Demystified
Mastering the Interview: 50 Common Interview Questions DemystifiedMalcolmDupri
 
IRJET- Python: Simple though an Important Programming Language
IRJET- Python: Simple though an Important Programming LanguageIRJET- Python: Simple though an Important Programming Language
IRJET- Python: Simple though an Important Programming LanguageIRJET Journal
 
Capabilities Of Python App Development In 2022.pdf
Capabilities Of  Python App Development In 2022.pdfCapabilities Of  Python App Development In 2022.pdf
Capabilities Of Python App Development In 2022.pdfCerebrum Infotech
 
Migration of Applications to Python is the most prudent Decision
Migration of Applications to Python is the most prudent DecisionMigration of Applications to Python is the most prudent Decision
Migration of Applications to Python is the most prudent DecisionMindfire LLC
 
INTRODUCTION-TO-PYTHON
INTRODUCTION-TO-PYTHONINTRODUCTION-TO-PYTHON
INTRODUCTION-TO-PYTHONRuchiNagar3
 
Type of apps that can be developed using python
Type of apps that can be developed using pythonType of apps that can be developed using python
Type of apps that can be developed using pythonSemidot Infotech
 
PYTHON TUTORIALS.pptx
PYTHON TUTORIALS.pptxPYTHON TUTORIALS.pptx
PYTHON TUTORIALS.pptxEzatIlman1
 
introduction to Python (for beginners)
introduction to Python (for beginners)introduction to Python (for beginners)
introduction to Python (for beginners)guobichrng
 
Python programming for beginners
Python programming for beginnersPython programming for beginners
Python programming for beginnersBenishchoco
 
Types of Applications That Can Be Built Using The Python App Development Fram...
Types of Applications That Can Be Built Using The Python App Development Fram...Types of Applications That Can Be Built Using The Python App Development Fram...
Types of Applications That Can Be Built Using The Python App Development Fram...Moon Technolabs Pvt. Ltd.
 
python Certification Training in marthahalli
python Certification Training in marthahallipython Certification Training in marthahalli
python Certification Training in marthahalliMUDDUKRISHNA14
 
Python and Its fascinating applications in the real world.pdf
Python and Its fascinating applications in the real world.pdfPython and Its fascinating applications in the real world.pdf
Python and Its fascinating applications in the real world.pdfSkilloVilla
 
session5-Getting stated with Python.pdf
session5-Getting stated with Python.pdfsession5-Getting stated with Python.pdf
session5-Getting stated with Python.pdfAyushDutta32
 
Introduction to Python Programming - I
Introduction to Python Programming  - IIntroduction to Python Programming  - I
Introduction to Python Programming - IArnab Chakraborty
 
9 good reasons why you must consider python for web applications
9 good reasons why you must consider python for web applications 9 good reasons why you must consider python for web applications
9 good reasons why you must consider python for web applications SnehaDas60
 
All you need to know about Python | BJIT
All you need to know about Python | BJITAll you need to know about Python | BJIT
All you need to know about Python | BJITBJIT Ltd
 

Similar to Basic Python Introduction Lecture 1.pptx (20)

Mastering the Interview: 50 Common Interview Questions Demystified
Mastering the Interview: 50 Common Interview Questions DemystifiedMastering the Interview: 50 Common Interview Questions Demystified
Mastering the Interview: 50 Common Interview Questions Demystified
 
IRJET- Python: Simple though an Important Programming Language
IRJET- Python: Simple though an Important Programming LanguageIRJET- Python: Simple though an Important Programming Language
IRJET- Python: Simple though an Important Programming Language
 
Capabilities Of Python App Development In 2022.pdf
Capabilities Of  Python App Development In 2022.pdfCapabilities Of  Python App Development In 2022.pdf
Capabilities Of Python App Development In 2022.pdf
 
Migration of Applications to Python is the most prudent Decision
Migration of Applications to Python is the most prudent DecisionMigration of Applications to Python is the most prudent Decision
Migration of Applications to Python is the most prudent Decision
 
Introduction to python
Introduction to pythonIntroduction to python
Introduction to python
 
INTRODUCTION-TO-PYTHON
INTRODUCTION-TO-PYTHONINTRODUCTION-TO-PYTHON
INTRODUCTION-TO-PYTHON
 
Python
PythonPython
Python
 
Type of apps that can be developed using python
Type of apps that can be developed using pythonType of apps that can be developed using python
Type of apps that can be developed using python
 
PYTHON TUTORIALS.pptx
PYTHON TUTORIALS.pptxPYTHON TUTORIALS.pptx
PYTHON TUTORIALS.pptx
 
introduction to Python (for beginners)
introduction to Python (for beginners)introduction to Python (for beginners)
introduction to Python (for beginners)
 
Python programming for beginners
Python programming for beginnersPython programming for beginners
Python programming for beginners
 
Research paper on python by Rj
Research paper on python by RjResearch paper on python by Rj
Research paper on python by Rj
 
Types of Applications That Can Be Built Using The Python App Development Fram...
Types of Applications That Can Be Built Using The Python App Development Fram...Types of Applications That Can Be Built Using The Python App Development Fram...
Types of Applications That Can Be Built Using The Python App Development Fram...
 
python Certification Training in marthahalli
python Certification Training in marthahallipython Certification Training in marthahalli
python Certification Training in marthahalli
 
_python Raunak.pptx
_python Raunak.pptx_python Raunak.pptx
_python Raunak.pptx
 
Python and Its fascinating applications in the real world.pdf
Python and Its fascinating applications in the real world.pdfPython and Its fascinating applications in the real world.pdf
Python and Its fascinating applications in the real world.pdf
 
session5-Getting stated with Python.pdf
session5-Getting stated with Python.pdfsession5-Getting stated with Python.pdf
session5-Getting stated with Python.pdf
 
Introduction to Python Programming - I
Introduction to Python Programming  - IIntroduction to Python Programming  - I
Introduction to Python Programming - I
 
9 good reasons why you must consider python for web applications
9 good reasons why you must consider python for web applications 9 good reasons why you must consider python for web applications
9 good reasons why you must consider python for web applications
 
All you need to know about Python | BJIT
All you need to know about Python | BJITAll you need to know about Python | BJIT
All you need to know about Python | BJIT
 

Recently uploaded

1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdfAldoGarca30
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaOmar Fathy
 
School management system project Report.pdf
School management system project Report.pdfSchool management system project Report.pdf
School management system project Report.pdfKamal Acharya
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdfKamal Acharya
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VDineshKumar4165
 
DC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationDC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationBhangaleSonal
 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptxJIT KUMAR GUPTA
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXssuser89054b
 
Jaipur ❤CALL GIRL 0000000000❤CALL GIRLS IN Jaipur ESCORT SERVICE❤CALL GIRL IN...
Jaipur ❤CALL GIRL 0000000000❤CALL GIRLS IN Jaipur ESCORT SERVICE❤CALL GIRL IN...Jaipur ❤CALL GIRL 0000000000❤CALL GIRLS IN Jaipur ESCORT SERVICE❤CALL GIRL IN...
Jaipur ❤CALL GIRL 0000000000❤CALL GIRLS IN Jaipur ESCORT SERVICE❤CALL GIRL IN...jabtakhaidam7
 
Employee leave management system project.
Employee leave management system project.Employee leave management system project.
Employee leave management system project.Kamal Acharya
 
Hospital management system project report.pdf
Hospital management system project report.pdfHospital management system project report.pdf
Hospital management system project report.pdfKamal Acharya
 
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best ServiceTamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Servicemeghakumariji156
 
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...drmkjayanthikannan
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startQuintin Balsdon
 
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...Call Girls Mumbai
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptDineshKumar4165
 
Basic Electronics for diploma students as per technical education Kerala Syll...
Basic Electronics for diploma students as per technical education Kerala Syll...Basic Electronics for diploma students as per technical education Kerala Syll...
Basic Electronics for diploma students as per technical education Kerala Syll...ppkakm
 
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptxOrlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptxMuhammadAsimMuhammad6
 

Recently uploaded (20)

Signal Processing and Linear System Analysis
Signal Processing and Linear System AnalysisSignal Processing and Linear System Analysis
Signal Processing and Linear System Analysis
 
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS Lambda
 
School management system project Report.pdf
School management system project Report.pdfSchool management system project Report.pdf
School management system project Report.pdf
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdf
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 
DC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationDC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equation
 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 
Jaipur ❤CALL GIRL 0000000000❤CALL GIRLS IN Jaipur ESCORT SERVICE❤CALL GIRL IN...
Jaipur ❤CALL GIRL 0000000000❤CALL GIRLS IN Jaipur ESCORT SERVICE❤CALL GIRL IN...Jaipur ❤CALL GIRL 0000000000❤CALL GIRLS IN Jaipur ESCORT SERVICE❤CALL GIRL IN...
Jaipur ❤CALL GIRL 0000000000❤CALL GIRLS IN Jaipur ESCORT SERVICE❤CALL GIRL IN...
 
Employee leave management system project.
Employee leave management system project.Employee leave management system project.
Employee leave management system project.
 
Hospital management system project report.pdf
Hospital management system project report.pdfHospital management system project report.pdf
Hospital management system project report.pdf
 
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best ServiceTamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
 
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the start
 
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
 
Basic Electronics for diploma students as per technical education Kerala Syll...
Basic Electronics for diploma students as per technical education Kerala Syll...Basic Electronics for diploma students as per technical education Kerala Syll...
Basic Electronics for diploma students as per technical education Kerala Syll...
 
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptxOrlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
 

Basic Python Introduction Lecture 1.pptx

  • 2. Today’s Agenda An Introduction to Python • Necessity Of Programming • What Is Python ? • Why And Who Created It ? • What Python Can Do ? • Why Should I Learn Python In 2019 ? • Important Features
  • 3. Why Do We Need Programming ? • To communicate with digital machines and make them work accordingly • Today in the programming world , we have more than 850 languages available. • And every language is designed to fulfill a particular kind of requirement
  • 4. Brief History Of Prog. Lang  C language was primarily designed to develop “System Softwares” like Operating Systems, Device Drivers etc .  To remove security problems with “C” language , C++ language was designed.  It is an Object Oriented Language which provides data security and can be used to solve real world problems.  Many popular softwares like Adobe Acrobat , Winamp Media Player,Internet Explorer,Mozilla Firefox etc were designed in C++ Courtsey:http://www.stroustrup.com/applications.html
  • 5. What is Python ?  Python is a general purpose and powerful programming language.  Python is considered as one of the most versatile programming language as it can be used to develop almost any kind of application including desktop application , web applications , mobile application , network programming , image processing and many more.
  • 6. Who created Python ?  Developed by Guido van Rossum , a Dutch scientist  Created at Center For Mathematics and Research , Netherland  It is inspired by another programming language called ABC
  • 7. Why was Python created ?  Guido started Python development as a hobby in 1989  But since then it has grown to become one of the most polished languages of the computing world.
  • 8. How Python got it’s name?  The name Python is inspired from Guido’s favorite Comedy TV show called “Monty Python’s Flying Circus”  Guido wanted a name that was short, unique, and slightly mysterious, so he decided to call the language Python.
  • 9. Who manages Python today ?  From version 2.1 onwards , Python is managed by Python Software Foundation situated in Delaware , USA  It is a non-profit organization devoted to the growth and enhancement of Python language  Their website is http://www.python.org
  • 10. What Python can do ?  GUI Application  Web Application  Data Analysis  AI & ML  Raspberry Pi  Hacking
  • 11. GUI In Python  Python is used for GUI apps all the time.  It has famous libraries like PyQT , Tkinter to build desktop apps.
  • 12. Web Application In Python  We can use Python to create web applications on many levels of complexity
  • 13. Famous Websites Developed Using Python  There are numerous examples of popular, high- load websites/webapps that have been developed using Python.  Here are some of the most popular of them:  NASA  Instagram  Mozilla  Spotify  Reddit  Dropbox  And above all YouTube
  • 14. Web Application In Python  There are many excellent Python frameworks like Django, Flask for web application development
  • 15. Data Analysis In Python  Data Analysis is about making predictions with data
  • 16. Some Examples  How do you think Super Market stores decide what products to keep in stock?  What are the items they should club together to make a combo?  How it happens ?  Answer: Data analytics
  • 17. Some Examples  Have you noticed that every time you log on to Google, Facebook and see ads, they are based on your preferences ?  How it happens ?  Answer: Data analytics
  • 18. Data Analysis In Python  Python is the leading language of choice for many data scientists  It has grown in popularity due to it’s excellent libraries like Numpy , Pandas etc
  • 19. AI & ML In Python  Machine learning is a field of AI (Artificial Intelligence) by using which software applications can learn to increase their accuracy for the expecting outcomes.  It is heavily used in Face recognition , music recommendation , medical data etc  Python has many wonderful libraries to implement ML algos like SciKit-Learn , Tensorflow etc
  • 20. Raspberry Pi In Python  The Raspberry Pi is a low cost, credit-card sized computer that plugs into a computer monitor or TV, and uses a standard keyboard and mouse.  It can do almost everything a normal desktop can do
  • 21. Raspberry Pi In Python  We can build Home Automation System and even robots using Raspberry-Pi  The coding on a Raspberry Pi can be performed using Python
  • 22. Hacking In Python  Python has gained popularity as preferred language for hacking.  Hackers generally develop small scripts and Python provides amazing performance for small programs
  • 23. Why should I learn Python ?  3rd most popular programming  Fastest growing language  Opens lots of doors  Big corporate prefer Python  Means , PYTHON IS THE FUTURE
  • 25. Features Of Python  Simple  Dynamically Typed  Robust  Supports multiple programming paradigms  Compiled as well as Interpreted  Cross Platform  Extensible  Huge Library
  • 26. Simple  Python is very simple  As compared to other popular languages like Java and C++, it is easier to code in Python.  Python code is comparatively 3 to 5 times smaller than C/C++/Java code
  • 27. Print Hello Bhopal! IN C #include <stdio.h> int main(){ printf("Hello Bhopal!"); return 0; } IN JAVA public class HelloWorld{ public static void main( String[] args ) { System.out.println( "Hello Bhopal!" ); } } IN PYTHON print('Hello Bhopal!')
  • 28. Add 2 Nos IN C #include <stdio.h> int main(){ int a=10,b=20; printf(“Sum is %d”,a+b); return 0; } IN JAVA public class HelloWorld{ public static void main( String[] args ) { int a=10,b=20; System.out.println( “Sum is “+(a+b)); } } IN PYTHON a,b=10,20 print(“Sum is”,a+b)
  • 29. Swap 2 Nos IN C int a=10,b=20,temp; temp=a; a=b; b=temp; IN JAVA int a=10,b=20,temp; temp=a; a=b; b=temp; IN PYTHON a,b=10,20 a,b=b,a
  • 31. Dynamically Typed IN Python a=10 a=“Bhopal” IN C int a; a=10; a=“Bhopal”;
  • 32. Robust  Python has very strict rules which every program must compulsorily follow and if these rules are violated then Python terminates the code by generating “Exception”  To understand python’s robustness , guess the output of the following /C++ code: int arr[5]; int i; for(i=0;i<=9;i++) { arr[i]=i+1; }
  • 33. Robust  In Python if we write the same code then it will generate Exception terminating the code  Due to this other running programs on the computer do not get affected and the system remains safe and secure
  • 34. Supports Multiple Programming Paradigms  Python supports both procedure-oriented and object- oriented programming which is one of the key python features.  In procedure-oriented languages, the program is built around procedures or functions which are nothing but reusable pieces of programs.  In object-oriented languages, the program is built around objects which combine data and functionality
  • 35. Compiled As Well As Interpreted  Python uses both a compiler as well as interpreter for converting our source and running it  However , the compilation part is hidden from the programmer ,so mostly people say it is an interpreted language
  • 36. Cross Platform  Let’s assume we’ve written a Python code for our Windows machine.  Now, if we want to run it on a Mac, we don’t need to make changes to it for the same.  In other words, we can take one code and run it on any machine, there is no need to write different code for different machines.  This makes Python a cross platform language
  • 37. Extensible  Python allows us to call C/C++/Java code from a Python code and thus we say it is an extensible language  We generally use this feature when we need a critical piece of code to run very fast .  So we can code that part of our program in C or C++ and then use it from our Python program.
  • 38. Huge Library  The Python Standard Library is huge indeed.  It can help you do various things like Database Programming , E-mailing ,GUI Programming etc