SlideShare a Scribd company logo
INTRODUCTION TO PYTHON

              by
     Kiran.V. [ @kiranvm ]
      Nakul.E [ @NakulE ]
INTRODUCTION TO PYTHON

●
    About Python
●
    Python CLI
       ●
           Lists
       ●
           Modules
       ●
           Exception Handling
●
    Introduction To GUI Programming
       ●
           GUI Frameworks
       ●
           GTK
       ●
           GTK Widgets
       ●
           Glade
●
    References
Q: What Makes Python Different?


    ANS: Lot Of Things
INSTALLATION




MAC OS and LINUX users, Please Don't Bother.

Windows Guys, Install it from


              www.python.org
ABOUT PYTHON


 Designed By Guido Van Rossum in 1991

 Web Applications, Softwares, Games, Mobiles etc

 Interpreted, Interactive, Object Oriented.

 Portable over Hardware and Software platforms.
LISTS


 Easy to work with arrangement of your data.

 Eg:

movies=[“if only”,”hachiko”,”the prestige”]
Introduction to python programming
Introduction to python programming
FUNCTIONS
MODULES



 Modules let you organize your code for optimal sharing.

 Simply a text file containing python code.


             >>> Import random
Introduction to python programming
#! /usr/bin/env python

“”” example for using a module “””

Import random

Print random.randint(1,100)
EXCEPTION HANDLING

Exceptions are Run-time Errors.

Traceback is python's way of reporting errors.
Introduction to python programming
CREATIVE THINGS YOU SHOULD TRY!!



  ●
      Create a truth and dare game.
  ●
      Create your classmates birthday list
  ●
      Download entire results of your classmates
  ●
      Develop a simple game.
                And much more...
THANK YOU !!

More Related Content

What's hot (20)

Python programming
Python programmingPython programming
Python programming
Megha V
 
Python, the Language of Science and Engineering for Engineers
Python, the Language of Science and Engineering for EngineersPython, the Language of Science and Engineering for Engineers
Python, the Language of Science and Engineering for Engineers
Boey Pak Cheong
 
Introduction to Python
Introduction to PythonIntroduction to Python
Introduction to Python
GLC Networks
 
Python Introduction
Python IntroductionPython Introduction
Python Introduction
Sofian Hadiwijaya
 
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
paradisetechsoftsolutions
 
Python tutorial for beginners - Tib academy
Python tutorial for beginners - Tib academyPython tutorial for beginners - Tib academy
Python tutorial for beginners - Tib academy
TIB Academy
 
Introduction to python
Introduction to pythonIntroduction to python
Introduction to python
Rajesh Rajamani
 
Python Introduction
Python IntroductionPython Introduction
Python Introduction
Mohammad Javad Beheshtian
 
Introduction python
Introduction pythonIntroduction python
Introduction python
Jumbo Techno e_Learning
 
Introduction to python
Introduction to pythonIntroduction to python
Introduction to python
eShikshak
 
Introduction to Python - Code Heroku
Introduction to Python - Code HerokuIntroduction to Python - Code Heroku
Introduction to Python - Code Heroku
codeheroku
 
Python quick guide1
Python quick guide1Python quick guide1
Python quick guide1
Kanchilug
 
Python Programming ppt
Python Programming pptPython Programming ppt
Python Programming ppt
ismailmrribi
 
Introduction To Python
Introduction To PythonIntroduction To Python
Introduction To Python
Vanessa Rene
 
Python programming | Fundamentals of Python programming
Python programming | Fundamentals of Python programming Python programming | Fundamentals of Python programming
Python programming | Fundamentals of Python programming
KrishnaMildain
 
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
Juan-Manuel Gimeno
 
11 Unit1 Chapter 1 Getting Started With Python
11   Unit1 Chapter 1 Getting Started With Python11   Unit1 Chapter 1 Getting Started With Python
11 Unit1 Chapter 1 Getting Started With Python
Praveen M Jigajinni
 
Introduction to Python Basics Programming
Introduction to Python Basics ProgrammingIntroduction to Python Basics Programming
Introduction to Python Basics Programming
Collaboration Technologies
 
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
QA TrainingHub
 
introduction to Python (for beginners)
introduction to Python (for beginners)introduction to Python (for beginners)
introduction to Python (for beginners)
guobichrng
 
Python programming
Python programmingPython programming
Python programming
Megha V
 
Python, the Language of Science and Engineering for Engineers
Python, the Language of Science and Engineering for EngineersPython, the Language of Science and Engineering for Engineers
Python, the Language of Science and Engineering for Engineers
Boey Pak Cheong
 
Introduction to Python
Introduction to PythonIntroduction to Python
Introduction to Python
GLC Networks
 
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
paradisetechsoftsolutions
 
Python tutorial for beginners - Tib academy
Python tutorial for beginners - Tib academyPython tutorial for beginners - Tib academy
Python tutorial for beginners - Tib academy
TIB Academy
 
Introduction to python
Introduction to pythonIntroduction to python
Introduction to python
eShikshak
 
Introduction to Python - Code Heroku
Introduction to Python - Code HerokuIntroduction to Python - Code Heroku
Introduction to Python - Code Heroku
codeheroku
 
Python quick guide1
Python quick guide1Python quick guide1
Python quick guide1
Kanchilug
 
Python Programming ppt
Python Programming pptPython Programming ppt
Python Programming ppt
ismailmrribi
 
Introduction To Python
Introduction To PythonIntroduction To Python
Introduction To Python
Vanessa Rene
 
Python programming | Fundamentals of Python programming
Python programming | Fundamentals of Python programming Python programming | Fundamentals of Python programming
Python programming | Fundamentals of Python programming
KrishnaMildain
 
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
Juan-Manuel Gimeno
 
11 Unit1 Chapter 1 Getting Started With Python
11   Unit1 Chapter 1 Getting Started With Python11   Unit1 Chapter 1 Getting Started With Python
11 Unit1 Chapter 1 Getting Started With Python
Praveen M Jigajinni
 
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
QA TrainingHub
 
introduction to Python (for beginners)
introduction to Python (for beginners)introduction to Python (for beginners)
introduction to Python (for beginners)
guobichrng
 

Viewers also liked (20)

Seminar report On Python
Seminar report On PythonSeminar report On Python
Seminar report On Python
Shivam Gupta
 
Introduction to python for Beginners
Introduction to python for Beginners Introduction to python for Beginners
Introduction to python for Beginners
Sujith Kumar
 
Introduction to Python
Introduction to PythonIntroduction to Python
Introduction to Python
Bogdan Sabău
 
Python 101: Python for Absolute Beginners (PyTexas 2014)
Python 101: Python for Absolute Beginners (PyTexas 2014)Python 101: Python for Absolute Beginners (PyTexas 2014)
Python 101: Python for Absolute Beginners (PyTexas 2014)
Paige Bailey
 
Introduction to Python
Introduction to PythonIntroduction to Python
Introduction to Python
Nowell Strite
 
Python - basics
Python - basicsPython - basics
Python - basics
Jéferson Machado
 
PythonIntro
PythonIntroPythonIntro
PythonIntro
webuploader
 
Python Programming Essentials - M6 - Code Blocks and Indentation
Python Programming Essentials - M6 - Code Blocks and IndentationPython Programming Essentials - M6 - Code Blocks and Indentation
Python Programming Essentials - M6 - Code Blocks and Indentation
P3 InfoTech Solutions Pvt. Ltd.
 
Python Tutorial
Python TutorialPython Tutorial
Python Tutorial
AkramWaseem
 
AmI 2015 - Python basics
AmI 2015 - Python basicsAmI 2015 - Python basics
AmI 2015 - Python basics
Luigi De Russis
 
Python Basics
Python BasicsPython Basics
Python Basics
tusharpanda88
 
Python Workshop
Python WorkshopPython Workshop
Python Workshop
Saket Choudhary
 
python codes
python codespython codes
python codes
tusharpanda88
 
Python basics
Python basicsPython basics
Python basics
Hoang Nguyen
 
Python tutorial
Python tutorialPython tutorial
Python tutorial
Vijay Chaitanya
 
Introduction to the basics of Python programming (part 1)
Introduction to the basics of Python programming (part 1)Introduction to the basics of Python programming (part 1)
Introduction to the basics of Python programming (part 1)
Pedro Rodrigues
 
AmI 2016 - Python basics
AmI 2016 - Python basicsAmI 2016 - Python basics
AmI 2016 - Python basics
Luigi De Russis
 
Google Bigtable Paper Presentation
Google Bigtable Paper PresentationGoogle Bigtable Paper Presentation
Google Bigtable Paper Presentation
vanjakom
 
Python basics
Python basicsPython basics
Python basics
NexThoughts Technologies
 
Classification of computers
Classification of computersClassification of computers
Classification of computers
sunil kumar
 
Seminar report On Python
Seminar report On PythonSeminar report On Python
Seminar report On Python
Shivam Gupta
 
Introduction to python for Beginners
Introduction to python for Beginners Introduction to python for Beginners
Introduction to python for Beginners
Sujith Kumar
 
Introduction to Python
Introduction to PythonIntroduction to Python
Introduction to Python
Bogdan Sabău
 
Python 101: Python for Absolute Beginners (PyTexas 2014)
Python 101: Python for Absolute Beginners (PyTexas 2014)Python 101: Python for Absolute Beginners (PyTexas 2014)
Python 101: Python for Absolute Beginners (PyTexas 2014)
Paige Bailey
 
Introduction to Python
Introduction to PythonIntroduction to Python
Introduction to Python
Nowell Strite
 
Python Programming Essentials - M6 - Code Blocks and Indentation
Python Programming Essentials - M6 - Code Blocks and IndentationPython Programming Essentials - M6 - Code Blocks and Indentation
Python Programming Essentials - M6 - Code Blocks and Indentation
P3 InfoTech Solutions Pvt. Ltd.
 
AmI 2015 - Python basics
AmI 2015 - Python basicsAmI 2015 - Python basics
AmI 2015 - Python basics
Luigi De Russis
 
Introduction to the basics of Python programming (part 1)
Introduction to the basics of Python programming (part 1)Introduction to the basics of Python programming (part 1)
Introduction to the basics of Python programming (part 1)
Pedro Rodrigues
 
AmI 2016 - Python basics
AmI 2016 - Python basicsAmI 2016 - Python basics
AmI 2016 - Python basics
Luigi De Russis
 
Google Bigtable Paper Presentation
Google Bigtable Paper PresentationGoogle Bigtable Paper Presentation
Google Bigtable Paper Presentation
vanjakom
 
Classification of computers
Classification of computersClassification of computers
Classification of computers
sunil kumar
 
Ad

Similar to Introduction to python programming (20)

Beginning python programming
Beginning python programmingBeginning python programming
Beginning python programming
kanteshraj
 
Python on a chip
Python on a chipPython on a chip
Python on a chip
stoggi
 
ppt summer training ug.pptx
ppt summer training ug.pptxppt summer training ug.pptx
ppt summer training ug.pptx
yuvrajguptaprivate
 
SoC Python Discussion Group
SoC Python Discussion GroupSoC Python Discussion Group
SoC Python Discussion Group
krishna_dubba
 
Python Programming - XIII. GUI Programming
Python Programming - XIII. GUI ProgrammingPython Programming - XIII. GUI Programming
Python Programming - XIII. GUI Programming
Ranel Padon
 
Why learn python in 2017?
Why learn python in 2017?Why learn python in 2017?
Why learn python in 2017?
Karolis Ramanauskas
 
Python Programming Draft PPT.pptx
Python Programming Draft PPT.pptxPython Programming Draft PPT.pptx
Python Programming Draft PPT.pptx
LakshmiNarayanaReddy48
 
Python. Why to learn?
Python. Why to learn?Python. Why to learn?
Python. Why to learn?
Oleh Korkh
 
Presentation on python
Presentation on pythonPresentation on python
Presentation on python
Venkat Projects
 
Programming with Python - Basic
Programming with Python - BasicProgramming with Python - Basic
Programming with Python - Basic
Mosky Liu
 
Python programming-2-2048 (30 files merged).ppt
Python programming-2-2048 (30 files merged).pptPython programming-2-2048 (30 files merged).ppt
Python programming-2-2048 (30 files merged).ppt
pprince22982
 
Python programming notes all in one python ppt
Python programming notes all in one python pptPython programming notes all in one python ppt
Python programming notes all in one python ppt
pprince22982
 
Introduction to Python Basics Programming
Introduction to Python Basics ProgrammingIntroduction to Python Basics Programming
Introduction to Python Basics Programming
Raveendra R
 
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
 
Introduction to Python Unit -1 Part .pdf
Introduction to Python Unit -1 Part .pdfIntroduction to Python Unit -1 Part .pdf
Introduction to Python Unit -1 Part .pdf
VaibhavKumarSinghkal
 
Hello, Python
Hello, PythonHello, Python
Hello, Python
hardwyrd
 
Python Tutorial | Python Programming Language
Python Tutorial | Python Programming LanguagePython Tutorial | Python Programming Language
Python Tutorial | Python Programming Language
anaveenkumar4
 
The Python Book_ The ultimate guide to coding with Python ( PDFDrive ).pdf
The Python Book_ The ultimate guide to coding with Python ( PDFDrive ).pdfThe Python Book_ The ultimate guide to coding with Python ( PDFDrive ).pdf
The Python Book_ The ultimate guide to coding with Python ( PDFDrive ).pdf
ssuser8b3cdd
 
637b4894085c4_ppt.pptx
637b4894085c4_ppt.pptx637b4894085c4_ppt.pptx
637b4894085c4_ppt.pptx
Arjun123Bagri
 
Introduction to Python
Introduction to PythonIntroduction to Python
Introduction to Python
SudhanshiBakre1
 
Beginning python programming
Beginning python programmingBeginning python programming
Beginning python programming
kanteshraj
 
Python on a chip
Python on a chipPython on a chip
Python on a chip
stoggi
 
SoC Python Discussion Group
SoC Python Discussion GroupSoC Python Discussion Group
SoC Python Discussion Group
krishna_dubba
 
Python Programming - XIII. GUI Programming
Python Programming - XIII. GUI ProgrammingPython Programming - XIII. GUI Programming
Python Programming - XIII. GUI Programming
Ranel Padon
 
Python. Why to learn?
Python. Why to learn?Python. Why to learn?
Python. Why to learn?
Oleh Korkh
 
Programming with Python - Basic
Programming with Python - BasicProgramming with Python - Basic
Programming with Python - Basic
Mosky Liu
 
Python programming-2-2048 (30 files merged).ppt
Python programming-2-2048 (30 files merged).pptPython programming-2-2048 (30 files merged).ppt
Python programming-2-2048 (30 files merged).ppt
pprince22982
 
Python programming notes all in one python ppt
Python programming notes all in one python pptPython programming notes all in one python ppt
Python programming notes all in one python ppt
pprince22982
 
Introduction to Python Basics Programming
Introduction to Python Basics ProgrammingIntroduction to Python Basics Programming
Introduction to Python Basics Programming
Raveendra R
 
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
 
Introduction to Python Unit -1 Part .pdf
Introduction to Python Unit -1 Part .pdfIntroduction to Python Unit -1 Part .pdf
Introduction to Python Unit -1 Part .pdf
VaibhavKumarSinghkal
 
Hello, Python
Hello, PythonHello, Python
Hello, Python
hardwyrd
 
Python Tutorial | Python Programming Language
Python Tutorial | Python Programming LanguagePython Tutorial | Python Programming Language
Python Tutorial | Python Programming Language
anaveenkumar4
 
The Python Book_ The ultimate guide to coding with Python ( PDFDrive ).pdf
The Python Book_ The ultimate guide to coding with Python ( PDFDrive ).pdfThe Python Book_ The ultimate guide to coding with Python ( PDFDrive ).pdf
The Python Book_ The ultimate guide to coding with Python ( PDFDrive ).pdf
ssuser8b3cdd
 
637b4894085c4_ppt.pptx
637b4894085c4_ppt.pptx637b4894085c4_ppt.pptx
637b4894085c4_ppt.pptx
Arjun123Bagri
 
Ad

Introduction to python programming

  • 1. INTRODUCTION TO PYTHON by Kiran.V. [ @kiranvm ] Nakul.E [ @NakulE ]
  • 2. INTRODUCTION TO PYTHON ● About Python ● Python CLI ● Lists ● Modules ● Exception Handling ● Introduction To GUI Programming ● GUI Frameworks ● GTK ● GTK Widgets ● Glade ● References
  • 3. Q: What Makes Python Different? ANS: Lot Of Things
  • 4. INSTALLATION MAC OS and LINUX users, Please Don't Bother. Windows Guys, Install it from www.python.org
  • 5. ABOUT PYTHON Designed By Guido Van Rossum in 1991 Web Applications, Softwares, Games, Mobiles etc Interpreted, Interactive, Object Oriented. Portable over Hardware and Software platforms.
  • 6. LISTS Easy to work with arrangement of your data. Eg: movies=[“if only”,”hachiko”,”the prestige”]
  • 10. MODULES Modules let you organize your code for optimal sharing. Simply a text file containing python code. >>> Import random
  • 12. #! /usr/bin/env python “”” example for using a module “”” Import random Print random.randint(1,100)
  • 13. EXCEPTION HANDLING Exceptions are Run-time Errors. Traceback is python's way of reporting errors.
  • 15. CREATIVE THINGS YOU SHOULD TRY!! ● Create a truth and dare game. ● Create your classmates birthday list ● Download entire results of your classmates ● Develop a simple game. And much more...