SlideShare a Scribd company logo
1 of 29
Download to read offline
PYTHON
AND ITS APPLICATIONS
CONTENTS
 What is Python?
 Features
 Hello World :)
 More Features
 Few comparison of codes in C++, Java and Python.
 Applications for Python
 Applications of Python
What is Python?
Of course, I am not talking about
snake.
Python is a clear and Powerful
object-oriented programming
language, comparable to Perl,
Ruby, Scheme, Java or C#.
Features
 Uses an elegant syntax, making the programs you write easier to read.
 Easy-to-use Language.
 Comes with a large standard library that supports many common programming
tasks such as connecting to web, searching text with regular expressions, reading
and modifying files.
 Runs anywhere. Including Mac OS, Windows, Linux and Unix.
 Free language in two ways: First, it doesn't cost a single penny and second can
be freely modified and redistributed.
Hello World! :)
 Just one line:-
print("Hello World")
More Features
 Variety of basic data types available: numbers, strings, lists and dictionaries.
 Supports OOPs with classes and Multiple Inheritance.
 Codes can be grouped into modules and packages.
 Modules can be made in C or C++ or any other language.
 Has Automatic Memory Management. Frees us from manually allocate and free
memory in your code.
 Cheers! Nothing like malloc() or free() that is used in C. Yeah!
Already in love with Python <3
Hello World
C++
#include<iostream>
using namespace std;
int main()
{
cout << "Hello World!";
return 0;
}
Java
public class HelloWorld
{
public static void main(String[] args)
{
System.out.println("Hello World");
}
}
Python
print("Hello World")
Swap Numbers
C++
#include <iostream>
using namespace std;
int main()
{
int x = 5, y = 10, temp;
temp = x;
x = y;
y = temp;
return 0;
}
Java
class SwapNumbers
{
public static void
main(String args[])
{
int x = 5, y = 5, temp;
temp = x;
x = y;
y = temp;
}
}
Python
x = 5
y = 10
x,y = y,x
Printing Pattern
C++
#include<iostream>
using namespace std;
int main()
{
for( int i = 0; i < 5; i++)
{
for( int j = 0; j <=5; j++)
cout << "*";
cout << "n";
}
return 0;
};
Java
public class JavaProgram
{
public static void main(String
args[])
{
int i, j;
for(i=0; i<5; i++)
{
for(j=0; j<=i; j++)
{
System.out.print("*
");
}
System.out.println();
}
}
}
Python
for i in range(0, 5):
for j in range(0, i+1):
print("*", end="")
print()
Applications for Python
 Web and Internet Development
 Frameworks such as Django
 Micro Frameworks such as Flask.
 Internet Protocols
 HTML and XML
 E-mail Processing
 More Libraries
 Requests(a powerful HTTP client library) and BeautifulSoup(a HTML parser that handles
all sort of oddball HTML)
Google
Python provides the power behind the most popular search engine in the world – Google. The programming language can
handle the traffic and computing needs of the search engine and its connected apps.
Some more Applications for Python
 Scientific and Numeric
 Scipy (collection of packages for mathematics, science and engineering)
 Raspberry pi (used to design Robots)
 Pandas (daily analysis and modeling library)
 Desktop GUIs
 Tk GUI library
 Kivy (for writing multi touch applications)
Robotics
Raspberry pi can be used as a brain to the robot to perform various actions and to react to the environment and the coding on
a Raspberry pi can be done using python.
GUI development
To develop a cross-platform desktop application python can be used. Python has modules Tkinter, PyQt to support it.
Applications of Python
 Web Crawler
 Using library's like BeautifulSoup
 Web Development
 Using Libraries like Django and Flask
 Data Structures and Algorithms
 Using Libraries
 Plugin
 Library
Some more Applications of Python
 Data Science
 Got some knowledge of Machine Learning and AI? You can implement some algos to
build your own.
 Networking
 Implement some protocols SMTP, FTP, HTTP
 Cryptography
 Encrypt and decrypt library, something like, RSA, RC4, DES
 Computer Vision
Computer Vision
You can do interesting things such as Face detection, Color detection using Opencv with python
Machine Learning
Python can be used to do cool things such as predicting stocks, fingerprint identification, spam detection etc. using machine learning. Python has
modules scikit-learn, theano, tensorflow to support it. Currently Deep Learning is all the hype and Tensorflow has support for Deep Learning.
A few more
 Artificial Intelligence
 SimpleAI
 EasyAI
 Games
 Pygame, A few are very popular: Pixel Man, Too many Troopers
Pygame
A video game being developed by using Pygame
Some Interesting Applications
 A great fan of TV Series or Anime? Python can download all this for you
automatically.
 Cricket Lover? Need score Updates? Python delivers all that quickly and free. :)
 Have a messy collection of folders? Let Python arrange it for you. :)
 Get news Updates.
 Got many movies, don't know where to start from? Simple solution. Write
a python script to organize movies as per IMDB ratings. (And that’s too in a few
lines of code.)
A few more
 Bored of the same wallpaper on the background? Ask python to download Bing
images for you. Or download Pics from Instagram.
 Create a file Server with just one line of code:
 python -m SimpleHTTPServer #default port 8080
 Turtle: Python has built in turtle. Enjoy your childhood.
Turtle
A beautiful image created using Turtle module in Python
One More, Very Important
 Post feed automatically on Facebook. ;)
“
”
Happy Birthday, Someone!
Did you received Happy Birthday posts from me on Facebook? ;)
Sorry for that.
“
”
Thank You!
ANY QUESTIONS?
PS: This is not Python Generated Page. ;)
And the PowerPoint presentation too. :)
Abhijeet Pratap Singh
CSE15U002
IIIT Trichy

More Related Content

What's hot

Benefits & features of python |Advantages & disadvantages of python
Benefits & features of python |Advantages & disadvantages of pythonBenefits & features of python |Advantages & disadvantages of python
Benefits & features of python |Advantages & disadvantages of pythonparadisetechsoftsolutions
 
Python presentation
Python presentationPython presentation
Python presentationgaganapponix
 
Python basics_ part1
Python basics_ part1Python basics_ part1
Python basics_ part1Elaf A.Saeed
 
Python - An Introduction
Python - An IntroductionPython - An Introduction
Python - An IntroductionSwarit Wadhe
 
Python quick guide1
Python quick guide1Python quick guide1
Python quick guide1Kanchilug
 
Introduction to python
Introduction to pythonIntroduction to python
Introduction to pythonAgung Wahyudi
 
Python | What is Python | History of Python | Python Tutorial
Python | What is Python | History of Python | Python TutorialPython | What is Python | History of Python | Python Tutorial
Python | What is Python | History of Python | Python TutorialQA TrainingHub
 
Python course syllabus
Python course syllabusPython course syllabus
Python course syllabusSugantha T
 
Python for the Mobile and Web
Python for the Mobile and WebPython for the Mobile and Web
Python for the Mobile and WebDerek Kiong
 
Introduction To Python
Introduction To PythonIntroduction To Python
Introduction To PythonVanessa Rene
 
Phython Programming Language
Phython Programming LanguagePhython Programming Language
Phython Programming LanguageR.h. Himel
 
Python Seminar PPT
Python Seminar PPTPython Seminar PPT
Python Seminar PPTShivam Gupta
 
Introduction to python for Beginners
Introduction to python for Beginners Introduction to python for Beginners
Introduction to python for Beginners Sujith Kumar
 
Python: the Project, the Language and the Style
Python: the Project, the Language and the StylePython: the Project, the Language and the Style
Python: the Project, the Language and the StyleJuan-Manuel Gimeno
 
Introduction to phython programming
Introduction to phython programmingIntroduction to phython programming
Introduction to phython programmingASIT Education
 
Python Programming ppt
Python Programming pptPython Programming ppt
Python Programming pptismailmrribi
 

What's hot (20)

Benefits & features of python |Advantages & disadvantages of python
Benefits & features of python |Advantages & disadvantages of pythonBenefits & features of python |Advantages & disadvantages of python
Benefits & features of python |Advantages & disadvantages of python
 
Introduction to python
Introduction to pythonIntroduction to python
Introduction to python
 
Python presentation
Python presentationPython presentation
Python presentation
 
Python basics_ part1
Python basics_ part1Python basics_ part1
Python basics_ part1
 
Python - An Introduction
Python - An IntroductionPython - An Introduction
Python - An Introduction
 
Python quick guide1
Python quick guide1Python quick guide1
Python quick guide1
 
Python
PythonPython
Python
 
Introduction to python
Introduction to pythonIntroduction to python
Introduction to python
 
Introduction to python
 Introduction to python Introduction to python
Introduction to python
 
Python | What is Python | History of Python | Python Tutorial
Python | What is Python | History of Python | Python TutorialPython | What is Python | History of Python | Python Tutorial
Python | What is Python | History of Python | Python Tutorial
 
Python course syllabus
Python course syllabusPython course syllabus
Python course syllabus
 
Python for the Mobile and Web
Python for the Mobile and WebPython for the Mobile and Web
Python for the Mobile and Web
 
Introduction To Python
Introduction To PythonIntroduction To Python
Introduction To Python
 
Lets learn Python !
Lets learn Python !Lets learn Python !
Lets learn Python !
 
Phython Programming Language
Phython Programming LanguagePhython Programming Language
Phython Programming Language
 
Python Seminar PPT
Python Seminar PPTPython Seminar PPT
Python Seminar PPT
 
Introduction to python for Beginners
Introduction to python for Beginners Introduction to python for Beginners
Introduction to python for Beginners
 
Python: the Project, the Language and the Style
Python: the Project, the Language and the StylePython: the Project, the Language and the Style
Python: the Project, the Language and the Style
 
Introduction to phython programming
Introduction to phython programmingIntroduction to phython programming
Introduction to phython programming
 
Python Programming ppt
Python Programming pptPython Programming ppt
Python Programming ppt
 

Similar to Pythonanditsapplications 161121160425

Basic Python Introduction Lecture 1.pptx
Basic Python Introduction Lecture 1.pptxBasic Python Introduction Lecture 1.pptx
Basic Python Introduction Lecture 1.pptxAditya Patel
 
POWER OF PYTHON PROGRAMMING LANGUAGE
POWER OF PYTHON PROGRAMMING LANGUAGE POWER OF PYTHON PROGRAMMING LANGUAGE
POWER OF PYTHON PROGRAMMING LANGUAGE teachersduniya.com
 
What is Python? (Silicon Valley CodeCamp 2015)
What is Python? (Silicon Valley CodeCamp 2015)What is Python? (Silicon Valley CodeCamp 2015)
What is Python? (Silicon Valley CodeCamp 2015)wesley chun
 
python programming.pptx
python programming.pptxpython programming.pptx
python programming.pptxKaviya452563
 
What is Python? (Silicon Valley CodeCamp 2014)
What is Python? (Silicon Valley CodeCamp 2014)What is Python? (Silicon Valley CodeCamp 2014)
What is Python? (Silicon Valley CodeCamp 2014)wesley chun
 
Python tutorial for beginners - Tib academy
Python tutorial for beginners - Tib academyPython tutorial for beginners - Tib academy
Python tutorial for beginners - Tib academyTIB Academy
 
INTRODUCTION-TO-PYTHON
INTRODUCTION-TO-PYTHONINTRODUCTION-TO-PYTHON
INTRODUCTION-TO-PYTHONRuchiNagar3
 
Python Tutorial | Python Programming Language
Python Tutorial | Python Programming LanguagePython Tutorial | Python Programming Language
Python Tutorial | Python Programming Languageanaveenkumar4
 
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
 
Py4 inf 01-intro
Py4 inf 01-introPy4 inf 01-intro
Py4 inf 01-introIshaq Ali
 

Similar to Pythonanditsapplications 161121160425 (20)

Python Programming Draft PPT.pptx
Python Programming Draft PPT.pptxPython Programming Draft PPT.pptx
Python Programming Draft PPT.pptx
 
Lecture 1.pptx
Lecture 1.pptxLecture 1.pptx
Lecture 1.pptx
 
Basic Python Introduction Lecture 1.pptx
Basic Python Introduction Lecture 1.pptxBasic Python Introduction Lecture 1.pptx
Basic Python Introduction Lecture 1.pptx
 
POWER OF PYTHON PROGRAMMING LANGUAGE
POWER OF PYTHON PROGRAMMING LANGUAGE POWER OF PYTHON PROGRAMMING LANGUAGE
POWER OF PYTHON PROGRAMMING LANGUAGE
 
What is Python? (Silicon Valley CodeCamp 2015)
What is Python? (Silicon Valley CodeCamp 2015)What is Python? (Silicon Valley CodeCamp 2015)
What is Python? (Silicon Valley CodeCamp 2015)
 
python programming.pptx
python programming.pptxpython programming.pptx
python programming.pptx
 
_python Raunak.pptx
_python Raunak.pptx_python Raunak.pptx
_python Raunak.pptx
 
What is Python? (Silicon Valley CodeCamp 2014)
What is Python? (Silicon Valley CodeCamp 2014)What is Python? (Silicon Valley CodeCamp 2014)
What is Python? (Silicon Valley CodeCamp 2014)
 
Python tutorial for beginners - Tib academy
Python tutorial for beginners - Tib academyPython tutorial for beginners - Tib academy
Python tutorial for beginners - Tib academy
 
Python Online From EasyLearning Guru
Python Online From EasyLearning GuruPython Online From EasyLearning Guru
Python Online From EasyLearning Guru
 
Introduction to python
Introduction to pythonIntroduction to python
Introduction to python
 
Introduction python
Introduction pythonIntroduction python
Introduction python
 
Introduction to Python
Introduction to PythonIntroduction to Python
Introduction to Python
 
Python basic
Python basicPython basic
Python basic
 
INTRODUCTION-TO-PYTHON
INTRODUCTION-TO-PYTHONINTRODUCTION-TO-PYTHON
INTRODUCTION-TO-PYTHON
 
Python Tutorial | Python Programming Language
Python Tutorial | Python Programming LanguagePython Tutorial | Python Programming Language
Python Tutorial | Python Programming Language
 
Python Class 1
Python Class 1Python Class 1
Python Class 1
 
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
 
Py4 inf 01-intro
Py4 inf 01-introPy4 inf 01-intro
Py4 inf 01-intro
 
Research paper on python by Rj
Research paper on python by RjResearch paper on python by Rj
Research paper on python by Rj
 

Recently uploaded

Unveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data AnalystUnveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data AnalystSamantha Rae Coolbeth
 
Call Girls In Mahipalpur O9654467111 Escorts Service
Call Girls In Mahipalpur O9654467111  Escorts ServiceCall Girls In Mahipalpur O9654467111  Escorts Service
Call Girls In Mahipalpur O9654467111 Escorts ServiceSapana Sha
 
Ukraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICSUkraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICSAishani27
 
Log Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxLog Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxJohnnyPlasten
 
Carero dropshipping via API with DroFx.pptx
Carero dropshipping via API with DroFx.pptxCarero dropshipping via API with DroFx.pptx
Carero dropshipping via API with DroFx.pptxolyaivanovalion
 
FESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfFESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfMarinCaroMartnezBerg
 
Ravak dropshipping via API with DroFx.pptx
Ravak dropshipping via API with DroFx.pptxRavak dropshipping via API with DroFx.pptx
Ravak dropshipping via API with DroFx.pptxolyaivanovalion
 
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Callshivangimorya083
 
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdfKantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdfSocial Samosa
 
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...Suhani Kapoor
 
04242024_CCC TUG_Joins and Relationships
04242024_CCC TUG_Joins and Relationships04242024_CCC TUG_Joins and Relationships
04242024_CCC TUG_Joins and Relationshipsccctableauusergroup
 
Generative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and MilvusGenerative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and MilvusTimothy Spann
 
CebaBaby dropshipping via API with DroFX.pptx
CebaBaby dropshipping via API with DroFX.pptxCebaBaby dropshipping via API with DroFX.pptx
CebaBaby dropshipping via API with DroFX.pptxolyaivanovalion
 
RA-11058_IRR-COMPRESS Do 198 series of 1998
RA-11058_IRR-COMPRESS Do 198 series of 1998RA-11058_IRR-COMPRESS Do 198 series of 1998
RA-11058_IRR-COMPRESS Do 198 series of 1998YohFuh
 
(ISHITA) Call Girls Service Hyderabad Call Now 8617697112 Hyderabad Escorts
(ISHITA) Call Girls Service Hyderabad Call Now 8617697112 Hyderabad Escorts(ISHITA) Call Girls Service Hyderabad Call Now 8617697112 Hyderabad Escorts
(ISHITA) Call Girls Service Hyderabad Call Now 8617697112 Hyderabad EscortsCall girls in Ahmedabad High profile
 
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Callshivangimorya083
 
Schema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdfSchema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdfLars Albertsson
 
Beautiful Sapna Vip Call Girls Hauz Khas 9711199012 Call /Whatsapps
Beautiful Sapna Vip  Call Girls Hauz Khas 9711199012 Call /WhatsappsBeautiful Sapna Vip  Call Girls Hauz Khas 9711199012 Call /Whatsapps
Beautiful Sapna Vip Call Girls Hauz Khas 9711199012 Call /Whatsappssapnasaifi408
 
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130Suhani Kapoor
 

Recently uploaded (20)

Unveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data AnalystUnveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data Analyst
 
Call Girls In Mahipalpur O9654467111 Escorts Service
Call Girls In Mahipalpur O9654467111  Escorts ServiceCall Girls In Mahipalpur O9654467111  Escorts Service
Call Girls In Mahipalpur O9654467111 Escorts Service
 
Ukraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICSUkraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICS
 
Log Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxLog Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptx
 
Carero dropshipping via API with DroFx.pptx
Carero dropshipping via API with DroFx.pptxCarero dropshipping via API with DroFx.pptx
Carero dropshipping via API with DroFx.pptx
 
FESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfFESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdf
 
Ravak dropshipping via API with DroFx.pptx
Ravak dropshipping via API with DroFx.pptxRavak dropshipping via API with DroFx.pptx
Ravak dropshipping via API with DroFx.pptx
 
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
 
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdfKantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
 
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
 
꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...
꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...
꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...
 
04242024_CCC TUG_Joins and Relationships
04242024_CCC TUG_Joins and Relationships04242024_CCC TUG_Joins and Relationships
04242024_CCC TUG_Joins and Relationships
 
Generative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and MilvusGenerative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and Milvus
 
CebaBaby dropshipping via API with DroFX.pptx
CebaBaby dropshipping via API with DroFX.pptxCebaBaby dropshipping via API with DroFX.pptx
CebaBaby dropshipping via API with DroFX.pptx
 
RA-11058_IRR-COMPRESS Do 198 series of 1998
RA-11058_IRR-COMPRESS Do 198 series of 1998RA-11058_IRR-COMPRESS Do 198 series of 1998
RA-11058_IRR-COMPRESS Do 198 series of 1998
 
(ISHITA) Call Girls Service Hyderabad Call Now 8617697112 Hyderabad Escorts
(ISHITA) Call Girls Service Hyderabad Call Now 8617697112 Hyderabad Escorts(ISHITA) Call Girls Service Hyderabad Call Now 8617697112 Hyderabad Escorts
(ISHITA) Call Girls Service Hyderabad Call Now 8617697112 Hyderabad Escorts
 
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
 
Schema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdfSchema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdf
 
Beautiful Sapna Vip Call Girls Hauz Khas 9711199012 Call /Whatsapps
Beautiful Sapna Vip  Call Girls Hauz Khas 9711199012 Call /WhatsappsBeautiful Sapna Vip  Call Girls Hauz Khas 9711199012 Call /Whatsapps
Beautiful Sapna Vip Call Girls Hauz Khas 9711199012 Call /Whatsapps
 
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
 

Pythonanditsapplications 161121160425

  • 2. CONTENTS  What is Python?  Features  Hello World :)  More Features  Few comparison of codes in C++, Java and Python.  Applications for Python  Applications of Python
  • 3. What is Python? Of course, I am not talking about snake. Python is a clear and Powerful object-oriented programming language, comparable to Perl, Ruby, Scheme, Java or C#.
  • 4. Features  Uses an elegant syntax, making the programs you write easier to read.  Easy-to-use Language.  Comes with a large standard library that supports many common programming tasks such as connecting to web, searching text with regular expressions, reading and modifying files.  Runs anywhere. Including Mac OS, Windows, Linux and Unix.  Free language in two ways: First, it doesn't cost a single penny and second can be freely modified and redistributed.
  • 5. Hello World! :)  Just one line:- print("Hello World")
  • 6. More Features  Variety of basic data types available: numbers, strings, lists and dictionaries.  Supports OOPs with classes and Multiple Inheritance.  Codes can be grouped into modules and packages.  Modules can be made in C or C++ or any other language.  Has Automatic Memory Management. Frees us from manually allocate and free memory in your code.  Cheers! Nothing like malloc() or free() that is used in C. Yeah!
  • 7. Already in love with Python <3
  • 8. Hello World C++ #include<iostream> using namespace std; int main() { cout << "Hello World!"; return 0; } Java public class HelloWorld { public static void main(String[] args) { System.out.println("Hello World"); } } Python print("Hello World")
  • 9. Swap Numbers C++ #include <iostream> using namespace std; int main() { int x = 5, y = 10, temp; temp = x; x = y; y = temp; return 0; } Java class SwapNumbers { public static void main(String args[]) { int x = 5, y = 5, temp; temp = x; x = y; y = temp; } } Python x = 5 y = 10 x,y = y,x
  • 10. Printing Pattern C++ #include<iostream> using namespace std; int main() { for( int i = 0; i < 5; i++) { for( int j = 0; j <=5; j++) cout << "*"; cout << "n"; } return 0; }; Java public class JavaProgram { public static void main(String args[]) { int i, j; for(i=0; i<5; i++) { for(j=0; j<=i; j++) { System.out.print("* "); } System.out.println(); } } } Python for i in range(0, 5): for j in range(0, i+1): print("*", end="") print()
  • 11. Applications for Python  Web and Internet Development  Frameworks such as Django  Micro Frameworks such as Flask.  Internet Protocols  HTML and XML  E-mail Processing  More Libraries  Requests(a powerful HTTP client library) and BeautifulSoup(a HTML parser that handles all sort of oddball HTML)
  • 12. Google Python provides the power behind the most popular search engine in the world – Google. The programming language can handle the traffic and computing needs of the search engine and its connected apps.
  • 13. Some more Applications for Python  Scientific and Numeric  Scipy (collection of packages for mathematics, science and engineering)  Raspberry pi (used to design Robots)  Pandas (daily analysis and modeling library)  Desktop GUIs  Tk GUI library  Kivy (for writing multi touch applications)
  • 14. Robotics Raspberry pi can be used as a brain to the robot to perform various actions and to react to the environment and the coding on a Raspberry pi can be done using python.
  • 15. GUI development To develop a cross-platform desktop application python can be used. Python has modules Tkinter, PyQt to support it.
  • 16. Applications of Python  Web Crawler  Using library's like BeautifulSoup  Web Development  Using Libraries like Django and Flask  Data Structures and Algorithms  Using Libraries  Plugin  Library
  • 17. Some more Applications of Python  Data Science  Got some knowledge of Machine Learning and AI? You can implement some algos to build your own.  Networking  Implement some protocols SMTP, FTP, HTTP  Cryptography  Encrypt and decrypt library, something like, RSA, RC4, DES  Computer Vision
  • 18. Computer Vision You can do interesting things such as Face detection, Color detection using Opencv with python
  • 19. Machine Learning Python can be used to do cool things such as predicting stocks, fingerprint identification, spam detection etc. using machine learning. Python has modules scikit-learn, theano, tensorflow to support it. Currently Deep Learning is all the hype and Tensorflow has support for Deep Learning.
  • 20. A few more  Artificial Intelligence  SimpleAI  EasyAI  Games  Pygame, A few are very popular: Pixel Man, Too many Troopers
  • 21. Pygame A video game being developed by using Pygame
  • 22.
  • 23. Some Interesting Applications  A great fan of TV Series or Anime? Python can download all this for you automatically.  Cricket Lover? Need score Updates? Python delivers all that quickly and free. :)  Have a messy collection of folders? Let Python arrange it for you. :)  Get news Updates.  Got many movies, don't know where to start from? Simple solution. Write a python script to organize movies as per IMDB ratings. (And that’s too in a few lines of code.)
  • 24. A few more  Bored of the same wallpaper on the background? Ask python to download Bing images for you. Or download Pics from Instagram.  Create a file Server with just one line of code:  python -m SimpleHTTPServer #default port 8080  Turtle: Python has built in turtle. Enjoy your childhood.
  • 25. Turtle A beautiful image created using Turtle module in Python
  • 26. One More, Very Important  Post feed automatically on Facebook. ;)
  • 27. “ ” Happy Birthday, Someone! Did you received Happy Birthday posts from me on Facebook? ;) Sorry for that.
  • 28. “ ” Thank You! ANY QUESTIONS? PS: This is not Python Generated Page. ;) And the PowerPoint presentation too. :)