SlideShare a Scribd company logo
Introduction to Python
By
Lalit Jain
www.itedge.in
Agenda
• What is Python?
• Where it is generally used?
• What can Python do?
• Why Python?
• Python and its Versions
• Python Features
• Setting up the development Environment
• First Python Program
www.itedge.in
What is Python?
• Python is a general purpose, dynamic, high level and
interpreted programming language.
• It supports Object Oriented programming approach to
develop applications.
• Python is developed by Guido van Rossum and started
implementing Python in 1989..
• Python's syntax and dynamic typing with its interpreted
nature, makes it an ideal language for scripting and rapid
application development.
• Python is not intended to work on special area such as
web programming. That is why it is known
as multipurpose because it can be used with web,
enterprise, 3D CAD etc.
www.itedge.in
Where it is generally used?
• Web development (server-side),
• Software development,
• Mathematical and scientific analysis of data,
• Desktop graphical application development, including
games.
www.itedge.in
What can Python do?
• Python can be used on a server to create web
applications.
• Python can be used alongside software to create
workflows.
• Python can connect to database systems. It can
also read and modify files.
• Python can be used to handle big data and perform
complex mathematics.
• Python can be used for rapid prototyping, or for
production-ready software development.
www.itedge.in
Why Python?
• Python works on different platforms (Windows, Mac,
Linux, Raspberry Pi, etc.).
• Python has a simple syntax similar to the English
language.
• Python has syntax that allows developers to write
programs with fewer lines than some other programming
languages.
• Python runs on an interpreter system, meaning that code
can be executed as soon as it is written. This means that
prototyping can be very quick.
• Python can be treated in a procedural way, an object-
orientated way or a functional way.
www.itedge.in
Python and its Versions
• Python laid its foundation in the late 1980s.
• The implementation of Python was started in the December
1989 by Guido Van Rossum at CWI in Netherland.
• In February 1991, van Rossum published the code (labeled
version 0.9.0) to alt.sources.
• In 1994, Python 1.0 was released with new features like:
lambda, map, filter, and reduce.
• Python 2.0 added new features like: list comprehensions,
garbage collection system.
• On December 3, 2008, Python 3.0 (also called "Py3K") was
released. It was designed to rectify fundamental flaw of the
language.
www.itedge.in
Python Features
• Easy to Learn and Use.
• Expressive Language
• Interpreted Language
• Cross-platform Language
• Free and Open Source
• Object-Oriented Language
• Extensible
• Large Standard Library
• GUI Programming Support
• Integrated
www.itedge.in

More Related Content

PDF
Contoh skripsi
Ichal Itu Salih Cibubur
 
PPT
Materi Jaringan_Komputer.ppt
ABASYAIR
 
PDF
Pantun Inovasi Administrasi Negara
Tri Widodo W. UTOMO
 
PDF
1 modul 1
ArdianDwiPraba
 
PDF
Salinan permendikbud nomor 81 a tahun 2013 tentang implementasi kurikulum g...
Welly Indriany
 
PDF
Laporan Sistem Pendukung Keputusan (DSS) Menggunakan Metode AHP
TAN Guru Inovatif
 
PDF
Bahan Paparan Analisis Kesenjangan Kompetensi
hanum72
 
PDF
SALINAN Perdirjen GTK Model Kompetensi KS.pdf
INyomanWageSPd
 
Contoh skripsi
Ichal Itu Salih Cibubur
 
Materi Jaringan_Komputer.ppt
ABASYAIR
 
Pantun Inovasi Administrasi Negara
Tri Widodo W. UTOMO
 
1 modul 1
ArdianDwiPraba
 
Salinan permendikbud nomor 81 a tahun 2013 tentang implementasi kurikulum g...
Welly Indriany
 
Laporan Sistem Pendukung Keputusan (DSS) Menggunakan Metode AHP
TAN Guru Inovatif
 
Bahan Paparan Analisis Kesenjangan Kompetensi
hanum72
 
SALINAN Perdirjen GTK Model Kompetensi KS.pdf
INyomanWageSPd
 

What's hot (20)

PPTX
Informasi SNPMB 2023 versi-02 01122022.pptx
andi kristanto
 
PDF
Koordinasi dan Penyelenggaraan Diklat (TOC)
Pupung Puad Hasan
 
PPTX
Slide Sidang Skripsi Sistem Informasi
Ismi Islamia
 
PDF
9 des 21 manajemen kinerja asn
KutsiyatinMSi
 
PPT
Pertemuan 2 - Organisasi dan Arsitektur Komputer.ppt
agro6
 
PPTX
Topologi jaringan ppt
Politeknik Tugu Jakarta
 
PDF
3 struktur-sistem-operasi-edit
Trabalistra Bagaz
 
PDF
21. agenda iii pka-modul manajemen perubahan sektor publik-
temanna #LABEDDU
 
PDF
Materi Pemrograman Dasar - Struktur Kontrol Percabangan
Hendri Winarto
 
PPTX
PERAN STRATEGIS PUSAT KEGIATAN BELAJAR MASYARAKAT (PKBM)
Cool Herdi
 
DOCX
Soal dan jawaban jaringan komputer
Ary Irawan
 
PPTX
MERANCANG TP dan ATP (1).pptx
LEGIRINLEGIRIN
 
PDF
Analisis Pieces Terhadap Sistem Informasi Lukman Hermanto 55518110066
LukmanHermanto
 
PPTX
Format naskah dinas
Rizki Malinda
 
PDF
Algoritma dan Struktur Data (Python) - Percabangan
AndiNurkholis1
 
PPT
Telekomunikasi dan Jaringan
Afdan Rojabi
 
PPSX
Kompresi Citra RGB dengan Transformasi Wavelet
Danurdoro Punto
 
PDF
Salinan Peraturan LAN 10 Tahun 2021 tentang Perubahan Atas Peraturan LAN 1 Ta...
Coach RFIRMANS
 
PPTX
3.11. Menerapkan instalasi jaringan komputer.pptx
EkoSulistiyanto3
 
PPTX
Model data relasional (3)
Fariszal Nova
 
Informasi SNPMB 2023 versi-02 01122022.pptx
andi kristanto
 
Koordinasi dan Penyelenggaraan Diklat (TOC)
Pupung Puad Hasan
 
Slide Sidang Skripsi Sistem Informasi
Ismi Islamia
 
9 des 21 manajemen kinerja asn
KutsiyatinMSi
 
Pertemuan 2 - Organisasi dan Arsitektur Komputer.ppt
agro6
 
Topologi jaringan ppt
Politeknik Tugu Jakarta
 
3 struktur-sistem-operasi-edit
Trabalistra Bagaz
 
21. agenda iii pka-modul manajemen perubahan sektor publik-
temanna #LABEDDU
 
Materi Pemrograman Dasar - Struktur Kontrol Percabangan
Hendri Winarto
 
PERAN STRATEGIS PUSAT KEGIATAN BELAJAR MASYARAKAT (PKBM)
Cool Herdi
 
Soal dan jawaban jaringan komputer
Ary Irawan
 
MERANCANG TP dan ATP (1).pptx
LEGIRINLEGIRIN
 
Analisis Pieces Terhadap Sistem Informasi Lukman Hermanto 55518110066
LukmanHermanto
 
Format naskah dinas
Rizki Malinda
 
Algoritma dan Struktur Data (Python) - Percabangan
AndiNurkholis1
 
Telekomunikasi dan Jaringan
Afdan Rojabi
 
Kompresi Citra RGB dengan Transformasi Wavelet
Danurdoro Punto
 
Salinan Peraturan LAN 10 Tahun 2021 tentang Perubahan Atas Peraturan LAN 1 Ta...
Coach RFIRMANS
 
3.11. Menerapkan instalasi jaringan komputer.pptx
EkoSulistiyanto3
 
Model data relasional (3)
Fariszal Nova
 
Ad

Similar to Introduction to python for dummies (20)

PPTX
WEB GIS Presentation.pptx
MuhammadUmair872953
 
PPTX
Introduction to Python Programming Basics
Dhana malar
 
PPTX
Introduction to python
Nikhil Kapoor
 
PPTX
Python programming
Megha V
 
PPTX
Introduction to python programming, Why Python?, Applications of Python
Pro Guide
 
PPTX
Python.pptx
abclara
 
PDF
Python quick guide1
Kanchilug
 
PPTX
introduction to Python (for beginners)
guobichrng
 
PPTX
Introduction to Python Programming language.pptx
BharathYusha1
 
PPTX
An Introduction To Python - Python, Print()
Blue Elephant Consulting
 
PPTX
DSA Presentation.pptx pptttttttttttttttt
AnshikaSingh921197
 
PDF
Python Programming Part 1.pdf
percivalfernandez2
 
PDF
Python Programming Part 1.pdf
percivalfernandez2
 
PDF
Python Programming Part 1.pdf
percivalfernandez2
 
PDF
Presentation (1).pdf
naganeparth06
 
PPTX
Python.pptx
Jahanvi Patel
 
PPTX
introduction to python in detail including .pptx
urvashipundir04
 
PPT
Python_basics_tuples_sets_lists_control_loops.ppt
VGaneshKarthikeyan
 
PPTX
Python presentation by Monu Sharma
Mayank Sharma
 
PPTX
Introduction to python
AnirudhaGaikwad4
 
WEB GIS Presentation.pptx
MuhammadUmair872953
 
Introduction to Python Programming Basics
Dhana malar
 
Introduction to python
Nikhil Kapoor
 
Python programming
Megha V
 
Introduction to python programming, Why Python?, Applications of Python
Pro Guide
 
Python.pptx
abclara
 
Python quick guide1
Kanchilug
 
introduction to Python (for beginners)
guobichrng
 
Introduction to Python Programming language.pptx
BharathYusha1
 
An Introduction To Python - Python, Print()
Blue Elephant Consulting
 
DSA Presentation.pptx pptttttttttttttttt
AnshikaSingh921197
 
Python Programming Part 1.pdf
percivalfernandez2
 
Python Programming Part 1.pdf
percivalfernandez2
 
Python Programming Part 1.pdf
percivalfernandez2
 
Presentation (1).pdf
naganeparth06
 
Python.pptx
Jahanvi Patel
 
introduction to python in detail including .pptx
urvashipundir04
 
Python_basics_tuples_sets_lists_control_loops.ppt
VGaneshKarthikeyan
 
Python presentation by Monu Sharma
Mayank Sharma
 
Introduction to python
AnirudhaGaikwad4
 
Ad

Recently uploaded (20)

PPTX
Odoo 18 Sales_ Managing Quotation Validity
Celine George
 
PDF
Phylum Arthropoda: Characteristics and Classification, Entomology Lecture
Miraj Khan
 
PDF
RA 12028_ARAL_Orientation_Day-2-Sessions_v2.pdf
Seven De Los Reyes
 
PPTX
PPTs-The Rise of Empiresghhhhhhhh (1).pptx
academysrusti114
 
PDF
Sunset Boulevard Student Revision Booklet
jpinnuck
 
PPTX
CONCEPT OF CHILD CARE. pptx
AneetaSharma15
 
PPTX
Dakar Framework Education For All- 2000(Act)
santoshmohalik1
 
PPTX
Python-Application-in-Drug-Design by R D Jawarkar.pptx
Rahul Jawarkar
 
PDF
Antianginal agents, Definition, Classification, MOA.pdf
Prerana Jadhav
 
PDF
Health-The-Ultimate-Treasure (1).pdf/8th class science curiosity /samyans edu...
Sandeep Swamy
 
PDF
The Minister of Tourism, Culture and Creative Arts, Abla Dzifa Gomashie has e...
nservice241
 
PDF
Presentation of the MIPLM subject matter expert Erdem Kaya
MIPLM
 
PPTX
Measures_of_location_-_Averages_and__percentiles_by_DR SURYA K.pptx
Surya Ganesh
 
PPTX
How to Close Subscription in Odoo 18 - Odoo Slides
Celine George
 
PDF
1.Natural-Resources-and-Their-Use.ppt pdf /8th class social science Exploring...
Sandeep Swamy
 
PPTX
PREVENTIVE PEDIATRIC. pptx
AneetaSharma15
 
PPTX
Five Point Someone – Chetan Bhagat | Book Summary & Analysis by Bhupesh Kushwaha
Bhupesh Kushwaha
 
PPTX
HISTORY COLLECTION FOR PSYCHIATRIC PATIENTS.pptx
PoojaSen20
 
PPTX
Kanban Cards _ Mass Action in Odoo 18.2 - Odoo Slides
Celine George
 
PDF
2.Reshaping-Indias-Political-Map.ppt/pdf/8th class social science Exploring S...
Sandeep Swamy
 
Odoo 18 Sales_ Managing Quotation Validity
Celine George
 
Phylum Arthropoda: Characteristics and Classification, Entomology Lecture
Miraj Khan
 
RA 12028_ARAL_Orientation_Day-2-Sessions_v2.pdf
Seven De Los Reyes
 
PPTs-The Rise of Empiresghhhhhhhh (1).pptx
academysrusti114
 
Sunset Boulevard Student Revision Booklet
jpinnuck
 
CONCEPT OF CHILD CARE. pptx
AneetaSharma15
 
Dakar Framework Education For All- 2000(Act)
santoshmohalik1
 
Python-Application-in-Drug-Design by R D Jawarkar.pptx
Rahul Jawarkar
 
Antianginal agents, Definition, Classification, MOA.pdf
Prerana Jadhav
 
Health-The-Ultimate-Treasure (1).pdf/8th class science curiosity /samyans edu...
Sandeep Swamy
 
The Minister of Tourism, Culture and Creative Arts, Abla Dzifa Gomashie has e...
nservice241
 
Presentation of the MIPLM subject matter expert Erdem Kaya
MIPLM
 
Measures_of_location_-_Averages_and__percentiles_by_DR SURYA K.pptx
Surya Ganesh
 
How to Close Subscription in Odoo 18 - Odoo Slides
Celine George
 
1.Natural-Resources-and-Their-Use.ppt pdf /8th class social science Exploring...
Sandeep Swamy
 
PREVENTIVE PEDIATRIC. pptx
AneetaSharma15
 
Five Point Someone – Chetan Bhagat | Book Summary & Analysis by Bhupesh Kushwaha
Bhupesh Kushwaha
 
HISTORY COLLECTION FOR PSYCHIATRIC PATIENTS.pptx
PoojaSen20
 
Kanban Cards _ Mass Action in Odoo 18.2 - Odoo Slides
Celine George
 
2.Reshaping-Indias-Political-Map.ppt/pdf/8th class social science Exploring S...
Sandeep Swamy
 

Introduction to python for dummies

  • 1. Introduction to Python By Lalit Jain www.itedge.in
  • 2. Agenda • What is Python? • Where it is generally used? • What can Python do? • Why Python? • Python and its Versions • Python Features • Setting up the development Environment • First Python Program www.itedge.in
  • 3. What is Python? • Python is a general purpose, dynamic, high level and interpreted programming language. • It supports Object Oriented programming approach to develop applications. • Python is developed by Guido van Rossum and started implementing Python in 1989.. • Python's syntax and dynamic typing with its interpreted nature, makes it an ideal language for scripting and rapid application development. • Python is not intended to work on special area such as web programming. That is why it is known as multipurpose because it can be used with web, enterprise, 3D CAD etc. www.itedge.in
  • 4. Where it is generally used? • Web development (server-side), • Software development, • Mathematical and scientific analysis of data, • Desktop graphical application development, including games. www.itedge.in
  • 5. What can Python do? • Python can be used on a server to create web applications. • Python can be used alongside software to create workflows. • Python can connect to database systems. It can also read and modify files. • Python can be used to handle big data and perform complex mathematics. • Python can be used for rapid prototyping, or for production-ready software development. www.itedge.in
  • 6. Why Python? • Python works on different platforms (Windows, Mac, Linux, Raspberry Pi, etc.). • Python has a simple syntax similar to the English language. • Python has syntax that allows developers to write programs with fewer lines than some other programming languages. • Python runs on an interpreter system, meaning that code can be executed as soon as it is written. This means that prototyping can be very quick. • Python can be treated in a procedural way, an object- orientated way or a functional way. www.itedge.in
  • 7. Python and its Versions • Python laid its foundation in the late 1980s. • The implementation of Python was started in the December 1989 by Guido Van Rossum at CWI in Netherland. • In February 1991, van Rossum published the code (labeled version 0.9.0) to alt.sources. • In 1994, Python 1.0 was released with new features like: lambda, map, filter, and reduce. • Python 2.0 added new features like: list comprehensions, garbage collection system. • On December 3, 2008, Python 3.0 (also called "Py3K") was released. It was designed to rectify fundamental flaw of the language. www.itedge.in
  • 8. Python Features • Easy to Learn and Use. • Expressive Language • Interpreted Language • Cross-platform Language • Free and Open Source • Object-Oriented Language • Extensible • Large Standard Library • GUI Programming Support • Integrated www.itedge.in

Editor's Notes

  • #8: In most of the programming languages, whenever a new version releases, it supports the features and syntax of the existing version of the language, therefore, it is easier for the projects built in the language to switch in the newer version. However, in the case of python, the two versions python 2 and python are very much different from each other. The two differences which can be pointed out here is Python 2 uses print as a statement and used as print "something" to print some string on the console. On the other hand, Python 3 uses print as a function and used as print("something") to print something on the console. Python 2 uses the function raw_input() to accept the user's input. It returns the string representing the value which has typed by the user. To convert it into the integer, we need to use the int() function in python. On the other hand, Python 3 uses input() function which automatically interpreted the type of input entered by the user. However, we can cast this value to any type by using primitive functions (int(), str(), etc.). In python 2, the implicit string type is ASCII whereas, in python 3, the implicit string type is Unicode. Python 3 doesn't contain the xrange() function of python 2. The xrange() is the variant of range() function which returns a xrange object that works similar to Java iterator. The range() returns a list for example the function range(0,3) contains 0, 1, 2. There is also a small change made in Exception handling in python 3. It defines a keyword as which is necessary to be used. 
  • #9: Python Features Python provides lots of features that are listed below. 1) Easy to Learn and Use Python is easy to learn and use. It is developer-friendly and high level programming language. 2) Expressive Language Python language is more expressive means that it is more understandable and readable. 3) Interpreted Language Python is an interpreted language i.e. interpreter executes the code line by line at a time. This makes debugging easy and thus suitable for beginners. 4) Cross-platform Language Python can run equally on different platforms such as Windows, Linux, Unix and Macintosh etc. So, we can say that Python is a portable language. 5) Free and Open Source Python language is freely available at offical web address. The source-code is also available. Therefore it is open source. 6) Object-Oriented Language Python supports object oriented language and concepts of classes and objects come into existence. 7) Extensible It implies that other languages such as C/C++ can be used to compile the code and thus it can be used further in our python code. 8) Large Standard Library Python has a large and broad library and prvides rich set of module and functions for rapid application development. 9) GUI Programming Support Graphical user interfaces can be developed using Python. 10) Integrated It can be easily integrated with languages like C, C++, JAVA etc.