SlideShare a Scribd company logo
Prof B N Kshirsagar
MIT Group , Aurangabad , MS, India
FOUNDER
Python is powerful... and
fast;
plays well with others;
runs everywhere;
is friendly & easy to learn;
is Open.
These are some of the
reasons people who use
Python would rather not
use anything else
Use Python for…
WebProgramming: Django, Pyramid, Bottle, Tornado, Fl
ask,web2py
GUI Development: wxPython, tkInter, PyGtk, PyQt
Scientific and Numeric: SciPy, Pandas, IPython
Software Development: Buildbot, Trac, Roundup
System Administration: Ansible, Salt, OpenStack
www.python.org
For Linux machine, python is , in general, preloaded
Just Type
$ python
You will have “>>>” prompt for python shell
For other machines,
Download and Install at your machine, from
python.org
First program
>>>print “Hello World !”
Hello World !
Second program
>>>x = 10
>>>y = 20
>>>z = x + y
>>> print z
30
Third program
>>>exam_fees = 10000
>>>service_tax = exam_fees * 12.36 / 100
>>>total_fees = exam_fees + service_tax
>>> print total_fees
11236
Thanks

More Related Content

Viewers also liked (18)

PPT
Securing Apache Web Servers
Information Technology
 
PPT
Future Programming Language
YLTO
 
PDF
Python and you
Sian Lerk Lau
 
PPT
Apache Web Server Setup 2
Information Technology
 
PPT
Python twitterとtkinterのことはじめ
Yukitaka Uchikoshi
 
PDF
10 more-things-you-can-do-with-python
Daniel Greenfeld
 
PDF
An introduction-to-tkinter
Jose Hernandez Moya
 
PDF
Tkinter Does Not Suck
Richard Jones
 
PDF
Begin with Python
Narong Intiruk
 
PPT
Chapter 11 Presentation
Amy McMullin
 
PDF
Introduction to python 3 2nd round
Youhei Sakurai
 
PPT
Chapter 12 Presentation
Amy McMullin
 
ODP
20 cool things python
Pippi Labradoodle
 
PPT
Chapter 1 Presentation
Amy McMullin
 
PPT
Chapter 2 Presentation
Amy McMullin
 
PPT
Chapter 3 Presentation
Amy McMullin
 
PPTX
Mastering Python lesson 3a
Ruth Marvin
 
PPT
Chapter 4
Amy McMullin
 
Securing Apache Web Servers
Information Technology
 
Future Programming Language
YLTO
 
Python and you
Sian Lerk Lau
 
Apache Web Server Setup 2
Information Technology
 
Python twitterとtkinterのことはじめ
Yukitaka Uchikoshi
 
10 more-things-you-can-do-with-python
Daniel Greenfeld
 
An introduction-to-tkinter
Jose Hernandez Moya
 
Tkinter Does Not Suck
Richard Jones
 
Begin with Python
Narong Intiruk
 
Chapter 11 Presentation
Amy McMullin
 
Introduction to python 3 2nd round
Youhei Sakurai
 
Chapter 12 Presentation
Amy McMullin
 
20 cool things python
Pippi Labradoodle
 
Chapter 1 Presentation
Amy McMullin
 
Chapter 2 Presentation
Amy McMullin
 
Chapter 3 Presentation
Amy McMullin
 
Mastering Python lesson 3a
Ruth Marvin
 
Chapter 4
Amy McMullin
 

Similar to Python programming lab1 (20)

PDF
Mastering the Interview: 50 Common Interview Questions Demystified
MalcolmDupri
 
PDF
Python tutorial
Vijay Chaitanya
 
PPTX
Chapter 2: Basics of programming pyton programming
biniyamtiktok
 
PPTX
What is the best way to learn Python.pptx
saanvikapoor1608
 
PPTX
Basic Python Introduction Lecture 1.pptx
Aditya Patel
 
PPTX
Python programming language introduction unit
michaelaaron25322
 
PPTX
python PPT Session 1.pptx
RobertHook14
 
PPTX
Lecture 1.pptx
hemantmohite6
 
PPTX
Python 1
Jainul Musani
 
PDF
Introduction-To-Python- a guide to master
ImadM4
 
PDF
Python For All | Software Professionals, QA & DevOps professionals
Nilesh Sutar
 
PDF
Python for All
Pragya Goyal
 
PDF
Hello, Python
hardwyrd
 
DOCX
Python Notes for mca i year students osmania university.docx
Ramakrishna Reddy Bijjam
 
PDF
Python_vision_academy notes
rajaniraut
 
PDF
Python_final_print_batch_II_vision_academy.pdf
muzegharjanahai
 
PDF
Python_final_print_batch_II_vision_academy.pdf
sannykhopade
 
PDF
Python_final_print_batch_II_vision_academy.pdf
bhagyashri686896
 
PDF
Python_final_print_batch_II_vision_academy (1).pdf
rupaliakhute
 
Mastering the Interview: 50 Common Interview Questions Demystified
MalcolmDupri
 
Python tutorial
Vijay Chaitanya
 
Chapter 2: Basics of programming pyton programming
biniyamtiktok
 
What is the best way to learn Python.pptx
saanvikapoor1608
 
Basic Python Introduction Lecture 1.pptx
Aditya Patel
 
Python programming language introduction unit
michaelaaron25322
 
python PPT Session 1.pptx
RobertHook14
 
Lecture 1.pptx
hemantmohite6
 
Python 1
Jainul Musani
 
Introduction-To-Python- a guide to master
ImadM4
 
Python For All | Software Professionals, QA & DevOps professionals
Nilesh Sutar
 
Python for All
Pragya Goyal
 
Hello, Python
hardwyrd
 
Python Notes for mca i year students osmania university.docx
Ramakrishna Reddy Bijjam
 
Python_vision_academy notes
rajaniraut
 
Python_final_print_batch_II_vision_academy.pdf
muzegharjanahai
 
Python_final_print_batch_II_vision_academy.pdf
sannykhopade
 
Python_final_print_batch_II_vision_academy.pdf
bhagyashri686896
 
Python_final_print_batch_II_vision_academy (1).pdf
rupaliakhute
 
Ad

More from profbnk (20)

PPTX
JavaServer Pages
profbnk
 
PPTX
Java swing
profbnk
 
PPTX
Java Virtual Machine
profbnk
 
PPTX
Big data2.0.040915
profbnk
 
PDF
Big data
profbnk
 
PPTX
Python programming advance lab api we pay
profbnk
 
PPTX
Python programming advance lab api how to
profbnk
 
PPTX
Python programming advance lab api npr 2
profbnk
 
PPTX
Python programming lab 20
profbnk
 
PPTX
Python programming lab 19
profbnk
 
PPTX
Python programming lab 18
profbnk
 
PPTX
Python programming lab 23
profbnk
 
PPTX
Python programming21
profbnk
 
PPTX
Python programming lab 17
profbnk
 
PPTX
Python programming lab16
profbnk
 
PPTX
Python programming lab15
profbnk
 
PPTX
Python programming lab14
profbnk
 
PPTX
Python programming lab13
profbnk
 
PPTX
Python programming lab12
profbnk
 
PPTX
Python programming lab 11
profbnk
 
JavaServer Pages
profbnk
 
Java swing
profbnk
 
Java Virtual Machine
profbnk
 
Big data2.0.040915
profbnk
 
Big data
profbnk
 
Python programming advance lab api we pay
profbnk
 
Python programming advance lab api how to
profbnk
 
Python programming advance lab api npr 2
profbnk
 
Python programming lab 20
profbnk
 
Python programming lab 19
profbnk
 
Python programming lab 18
profbnk
 
Python programming lab 23
profbnk
 
Python programming21
profbnk
 
Python programming lab 17
profbnk
 
Python programming lab16
profbnk
 
Python programming lab15
profbnk
 
Python programming lab14
profbnk
 
Python programming lab13
profbnk
 
Python programming lab12
profbnk
 
Python programming lab 11
profbnk
 
Ad

Recently uploaded (20)

PPTX
Neurodivergent Friendly Schools - Slides from training session
Pooky Knightsmith
 
PPT
Talk on Critical Theory, Part One, Philosophy of Social Sciences
Soraj Hongladarom
 
PDF
Knee Extensor Mechanism Injuries - Orthopedic Radiologic Imaging
Sean M. Fox
 
PDF
The Different Types of Non-Experimental Research
Thelma Villaflores
 
PPTX
PATIENT ASSIGNMENTS AND NURSING CARE RESPONSIBILITIES.pptx
PRADEEP ABOTHU
 
PPTX
How to Convert an Opportunity into a Quotation in Odoo 18 CRM
Celine George
 
PDF
Governor Josh Stein letter to NC delegation of U.S. House
Mebane Rash
 
PPTX
grade 5 lesson matatag ENGLISH 5_Q1_PPT_WEEK4.pptx
SireQuinn
 
PDF
Reconstruct, Restore, Reimagine: New Perspectives on Stoke Newington’s Histor...
History of Stoke Newington
 
PDF
The Constitution Review Committee (CRC) has released an updated schedule for ...
nservice241
 
PDF
Geographical diversity of India short notes by sandeep swamy
Sandeep Swamy
 
PPTX
Post Dated Cheque(PDC) Management in Odoo 18
Celine George
 
PPTX
Quarter 1_PPT_PE & HEALTH 8_WEEK 3-4.pptx
ronajadolpnhs
 
PDF
Biological Bilingual Glossary Hindi and English Medium
World of Wisdom
 
PDF
Aprendendo Arquitetura Framework Salesforce - Dia 03
Mauricio Alexandre Silva
 
PDF
QNL June Edition hosted by Pragya the official Quiz Club of the University of...
Pragya - UEM Kolkata Quiz Club
 
PDF
Women's Health: Essential Tips for Every Stage.pdf
Iftikhar Ahmed
 
PPTX
How to Create a PDF Report in Odoo 18 - Odoo Slides
Celine George
 
PPTX
How to Set Up Tags in Odoo 18 - Odoo Slides
Celine George
 
PPTX
Identifying elements in the story. Arrange the events in the story
geraldineamahido2
 
Neurodivergent Friendly Schools - Slides from training session
Pooky Knightsmith
 
Talk on Critical Theory, Part One, Philosophy of Social Sciences
Soraj Hongladarom
 
Knee Extensor Mechanism Injuries - Orthopedic Radiologic Imaging
Sean M. Fox
 
The Different Types of Non-Experimental Research
Thelma Villaflores
 
PATIENT ASSIGNMENTS AND NURSING CARE RESPONSIBILITIES.pptx
PRADEEP ABOTHU
 
How to Convert an Opportunity into a Quotation in Odoo 18 CRM
Celine George
 
Governor Josh Stein letter to NC delegation of U.S. House
Mebane Rash
 
grade 5 lesson matatag ENGLISH 5_Q1_PPT_WEEK4.pptx
SireQuinn
 
Reconstruct, Restore, Reimagine: New Perspectives on Stoke Newington’s Histor...
History of Stoke Newington
 
The Constitution Review Committee (CRC) has released an updated schedule for ...
nservice241
 
Geographical diversity of India short notes by sandeep swamy
Sandeep Swamy
 
Post Dated Cheque(PDC) Management in Odoo 18
Celine George
 
Quarter 1_PPT_PE & HEALTH 8_WEEK 3-4.pptx
ronajadolpnhs
 
Biological Bilingual Glossary Hindi and English Medium
World of Wisdom
 
Aprendendo Arquitetura Framework Salesforce - Dia 03
Mauricio Alexandre Silva
 
QNL June Edition hosted by Pragya the official Quiz Club of the University of...
Pragya - UEM Kolkata Quiz Club
 
Women's Health: Essential Tips for Every Stage.pdf
Iftikhar Ahmed
 
How to Create a PDF Report in Odoo 18 - Odoo Slides
Celine George
 
How to Set Up Tags in Odoo 18 - Odoo Slides
Celine George
 
Identifying elements in the story. Arrange the events in the story
geraldineamahido2
 

Python programming lab1

  • 1. Prof B N Kshirsagar MIT Group , Aurangabad , MS, India
  • 2. FOUNDER Python is powerful... and fast; plays well with others; runs everywhere; is friendly & easy to learn; is Open. These are some of the reasons people who use Python would rather not use anything else
  • 3. Use Python for… WebProgramming: Django, Pyramid, Bottle, Tornado, Fl ask,web2py GUI Development: wxPython, tkInter, PyGtk, PyQt Scientific and Numeric: SciPy, Pandas, IPython Software Development: Buildbot, Trac, Roundup System Administration: Ansible, Salt, OpenStack
  • 4. www.python.org For Linux machine, python is , in general, preloaded Just Type $ python You will have “>>>” prompt for python shell For other machines, Download and Install at your machine, from python.org
  • 5. First program >>>print “Hello World !” Hello World !
  • 6. Second program >>>x = 10 >>>y = 20 >>>z = x + y >>> print z 30
  • 7. Third program >>>exam_fees = 10000 >>>service_tax = exam_fees * 12.36 / 100 >>>total_fees = exam_fees + service_tax >>> print total_fees 11236