SlideShare a Scribd company logo
Agenda
 What is Python…?
 Differences between program and scripting language
 History of Python
 Scope of Python
 Why do people use Python?
 Installing Python IDE
 Who uses python today
 What can I do with python
 A Sample Code
 Python code execution
 Running Python
Introduction
What is Python…?
 Python is a general purpose programming language.
 Python is a versatile and widely-used high-level
programming language known for its simplicity and
readability. Python emphasizes code readability,
making it easy for beginners and experienced
developers to write clear and logical code.
 Python is dynamic.
 Python is also called as Interpreted language
 Python supports multiple programming
paradigms, including procedural, object-
oriented, and functional programming. Its
syntax is clean and easy to understand, with
fewer lines of code required compared to
other languages. This makes it ideal for rapid
development
History
 Invented in the Netherlands, early 90s by Guido van Rossum
 Python was conceived in the late 1980s and its
implementation was started in December 1989
 Guido Van Rossum is fan of ‘Monty Python’s Flying
Circus’, this is a famous TV show in Netherlands
 Named after Monty Python
 Open sourced from the beginning
Scope of Python
 Science
- Bioinformatics
 System Administration
-Unix
-Web logic
-Web sphere
 Web Application Development
-CGI
-Jython – Servlets
 Testing scripts
Key Features of Python
 Python is a high-level, interpreted programming language known
for its simplicity and readability.
 Simple and Readable: Python's syntax is designed to be easy to
understand and write, making it an excellent choice for beginners
and experienced programmers alike.
 Interpreted Language: Python code is executed line by line,
making debugging easier and eliminating the need for a
compilation step.
 Dynamic Typing: You don’t need to declare data types explicitly;
Python determines the type of variable during runtime.
 Versatile and Portable: Python runs on multiple platforms,
including Windows, macOS, Linux, and more. It can be used for
web development, data analysis, artificial intelligence, automation,
and much more.
 Extensive Libraries and Frameworks: Python has a
rich ecosystem of libraries (like NumPy, Pandas,
TensorFlow) and frameworks (like Django, Flask) that
simplify development in various domains.
 Python is widely used in web development, data science,
machine learning, automation, scientific computing, and
more.
 Cross-platform: Python can run on various operating
systems, including Windows, Linux, and macOS.
 Community support: Python has a large and active
community, offering resources like tutorials, forums, and
open-source libraries.
Why do people use Python…?
The following primary factors cited by Python users
seem to be these:
 Python is object-oriented
Structure supports such concepts as polymorphism, operation
overloading, and multiple inheritance.
 Indentation
Indentation is one of the greatest future in Python.
 It's free (open source)
Downloading and installing Python is free and easy
Source code is easily accessible
EXAMPLE
 if condition:
 # This is inside the if block
 print("Condition is true")
 if nested_condition:
 # This is a nested block inside the if block
 print("Nested condition is also true")
 It's powerful
- Dynamic typing
- Built-in types and tools
- Library utilities
- Third party utilities (e.g. Numeric, NumPy, SciPy)
- Automatic memory management
 It's portable
- Python runs virtually every major platform used today
- As long as you have a compatible Python interpreter installed,
Python programs will run in exactly the same manner,
irrespective of platform.
 It's mixable
- Python can be linked to components written in other languages easily
- Linking to fast, compiled code is useful to computationally intensive
problems
- - Python/C integration is quite common
 It's easy to use
- No intermediate compile and link steps as in C/ C++
- Python programs are compiled automatically to an intermediate
form called bytecode, which the interpreter then reads
- This gives Python the development speed of an interpreter without
the performance loss inherent in purely interpreted languages
 It's easy to learn
- Structure and syntax are pretty intuitive and easy to grasp
Installing Python
 Python is pre-installed on most Unix systems,
including Linux and MAC OS X
 But for in Windows Operating Systems , user can
download from the https://www.python.org/downloads/
- from the above link download latest version of
python IDE and install, recent version is 3.4.1 but
most of them uses version 2.7.7 only
 After installing the
Python Ver#2.7.7, go to
start menu then click on
python 2.7 in that one
you can select python
(command line) it is
prompt with >>>
Where uses python …
 Web frameworks and applications.
 GUI based desktop applications.
 Graphics design, image processing applications, games,
scientific applictions.
 ML, AI, neural networks.
 Data science and data visualization.
 IOT
 Database development..
What can I do with Python…?
 System programming
 Graphical User Interface Programming
 Internet Scripting
 Database Programming
 Gaming, Images, XML , Robot and more
Enough to understand the code
 Indentation matters to code meaning
- Block structure indicated by indentation
 First assignment to a variable creates it
- Variable types don’t need to be declared.
- Python figures out the variable types on its own.
 Assignment is = and comparison is ==
 For numbers + - * / % are as expected
- Special use of + for string concatenation and % for string
formatting (as in C’s printf)
 Logical operators are words (and, or, not) not symbols
 The basic printing command is print
Python Code Execution
 Python’s traditional runtime execution model: source code you
type is translated to byte code, which is then run by the Python
Virtual Machine. Your code is automatically compiled, but then
it is interpreted.
Source code extension is .py
Byte code extension is .pyc (compiled python code)
Anaconda Navigator
• Anaconda Navigator is a desktop graphical user interface (GUI) included
in Anaconda® Distribution that allows you to launch applications and
manage conda packages, environments, and channels without using
command line interface (CLI) commands. Navigator can search for
packages on Anaconda.org or in a local Anaconda Repository.
• It is available for Windows, macOS, and Linux.
The Navigator documentation
introduction to python in detail including .pptx
introduction to python in detail including .pptx

More Related Content

PPTX
python programminig and introduction.pptx
PPTX
introduction to python in computer graphics.pptx
PDF
intro.pptx (1).pdf
PPTX
Chapter 2: Basics of programming pyton programming
PPTX
Phython Programming Language
PPTX
Python is a high-level, interpreted programming language known for its simpli...
PPTX
Python is a high-level, interpreted programming language known for its simpli...
PPTX
Python is a high-level, interpreted programming language that emphasizes read...
python programminig and introduction.pptx
introduction to python in computer graphics.pptx
intro.pptx (1).pdf
Chapter 2: Basics of programming pyton programming
Phython Programming Language
Python is a high-level, interpreted programming language known for its simpli...
Python is a high-level, interpreted programming language known for its simpli...
Python is a high-level, interpreted programming language that emphasizes read...

Similar to introduction to python in detail including .pptx (20)

PPTX
Introduction to python for Beginners
PPTX
Python tutorial for beginners - Tib academy
PPTX
Python Tutorial | Python Programming Language
PPTX
Python Programming Draft PPT.pptx
PPTX
Introduction python
PPTX
INTRODUCTION-TO-PYTHON
PDF
REPORT ON AUDIT COURSE PYTHON BY SANA 2.pdf
DOCX
Seminar report On Python
DOCX
Seminar report on python 3 course
PPTX
Lecture 1.pptx
PPTX
university notes Lecture - 1 (Python) E-Notes.pptx
PPTX
Lecture - 1 (Python) E-Notes.pptx important
PPTX
Python learning notes for freshers and also beginners.
PPTX
Basic Python Introduction Lecture 1.pptx
PPT
1-ppt-python.ppt
PPTX
PYTHON TUTORIALS.pptx
PPTX
Introduction to python
PDF
Training report 1923-b.e-eee-batchno--intern-54 (1).pdf
PDF
Python Programming Part 1.pdf
PDF
Python Programming Part 1.pdf
Introduction to python for Beginners
Python tutorial for beginners - Tib academy
Python Tutorial | Python Programming Language
Python Programming Draft PPT.pptx
Introduction python
INTRODUCTION-TO-PYTHON
REPORT ON AUDIT COURSE PYTHON BY SANA 2.pdf
Seminar report On Python
Seminar report on python 3 course
Lecture 1.pptx
university notes Lecture - 1 (Python) E-Notes.pptx
Lecture - 1 (Python) E-Notes.pptx important
Python learning notes for freshers and also beginners.
Basic Python Introduction Lecture 1.pptx
1-ppt-python.ppt
PYTHON TUTORIALS.pptx
Introduction to python
Training report 1923-b.e-eee-batchno--intern-54 (1).pdf
Python Programming Part 1.pdf
Python Programming Part 1.pdf
Ad

More from urvashipundir04 (20)

PPTX
kewords in python using 35 keywords.pptx
PPTX
stack in python using different datatypes.pptx
PPTX
Game Playing in Artificial intelligence.pptx
PPTX
extended modelling in dbms using different.pptx
PPTX
PRODUCTION SYSTEM in data science .pptx
PPTX
Presentation1 in datamining using techn.pptx
PPTX
Dependency modelling in data mining.pptx
PPTX
INTRODUCTION to datawarehouse IN DATA.pptx
PPTX
SOCIAL NETWORK ANALYISI in engeenireg.pptx
PPTX
datamining in engerring using different techniques.pptx
PPTX
datamining IN Artificial intelligence.pptx
PPTX
Underfitting and Overfitting in Machine Learning.pptx
PPTX
introduction values and best practices in
PPTX
ppt on different topics of circular.pptx
PPTX
list in python and traversal of list.pptx
PPT
ermodelN in database management system.ppt
PPTX
libraries in python using different .pptx
PPTX
tuple in python is an impotant topic.pptx
PPTX
ANIMATION in computer graphics using 3 D.pptx
PPTX
dispaly subroutines in computer graphics .pptx
kewords in python using 35 keywords.pptx
stack in python using different datatypes.pptx
Game Playing in Artificial intelligence.pptx
extended modelling in dbms using different.pptx
PRODUCTION SYSTEM in data science .pptx
Presentation1 in datamining using techn.pptx
Dependency modelling in data mining.pptx
INTRODUCTION to datawarehouse IN DATA.pptx
SOCIAL NETWORK ANALYISI in engeenireg.pptx
datamining in engerring using different techniques.pptx
datamining IN Artificial intelligence.pptx
Underfitting and Overfitting in Machine Learning.pptx
introduction values and best practices in
ppt on different topics of circular.pptx
list in python and traversal of list.pptx
ermodelN in database management system.ppt
libraries in python using different .pptx
tuple in python is an impotant topic.pptx
ANIMATION in computer graphics using 3 D.pptx
dispaly subroutines in computer graphics .pptx
Ad

Recently uploaded (20)

PDF
Prostaglandin E2.pdf orthoodontics op kharbanda
PPTX
Nervous_System_Drugs_PPT.pptxXXXXXXXXXXXXXXXXX
PDF
Why Today’s Brands Need ORM & SEO Specialists More Than Ever.pdf
PDF
esg-supply-chain-webinar-nov2018hkhkkh.pdf
PDF
Understanding the Rhetorical Situation Presentation in Blue Orange Muted Il_2...
PPTX
normal_menstrual_cycle_,,physiology.PPTX
PPTX
The Stock at arrangement the stock and product.pptx
PPTX
Discovering the LMA Course by Tim Han.pptx
DOC
field study for teachers graduating samplr
PPTX
Cerebral_Palsy_Detailed_Presentation.pptx
PPT
Gsisgdkddkvdgjsjdvdbdbdbdghjkhgcvvkkfcxxfg
PPTX
chapter 3_bem.pptxKLJLKJLKJLKJKJKLJKJKJKHJH
DOCX
How to Become a Criminal Profiler or Behavioural Analyst.docx
PPTX
internship presentation of bsnl in colllege
PDF
L-0018048598visual cloud book for PCa-pdf.pdf
PPTX
OCCULAR MANIFESTATIONS IN LEPROSY.pptx bbb
PDF
Manager Resume for R, CL & Applying Online.pdf
PPTX
Principles of Inheritance and variation class 12.pptx
PPT
BCH3201 (Enzymes and biocatalysis)-JEB (1).ppt
PPTX
E-Commerce____Intermediate_Presentation.pptx
Prostaglandin E2.pdf orthoodontics op kharbanda
Nervous_System_Drugs_PPT.pptxXXXXXXXXXXXXXXXXX
Why Today’s Brands Need ORM & SEO Specialists More Than Ever.pdf
esg-supply-chain-webinar-nov2018hkhkkh.pdf
Understanding the Rhetorical Situation Presentation in Blue Orange Muted Il_2...
normal_menstrual_cycle_,,physiology.PPTX
The Stock at arrangement the stock and product.pptx
Discovering the LMA Course by Tim Han.pptx
field study for teachers graduating samplr
Cerebral_Palsy_Detailed_Presentation.pptx
Gsisgdkddkvdgjsjdvdbdbdbdghjkhgcvvkkfcxxfg
chapter 3_bem.pptxKLJLKJLKJLKJKJKLJKJKJKHJH
How to Become a Criminal Profiler or Behavioural Analyst.docx
internship presentation of bsnl in colllege
L-0018048598visual cloud book for PCa-pdf.pdf
OCCULAR MANIFESTATIONS IN LEPROSY.pptx bbb
Manager Resume for R, CL & Applying Online.pdf
Principles of Inheritance and variation class 12.pptx
BCH3201 (Enzymes and biocatalysis)-JEB (1).ppt
E-Commerce____Intermediate_Presentation.pptx

introduction to python in detail including .pptx

  • 1. Agenda  What is Python…?  Differences between program and scripting language  History of Python  Scope of Python  Why do people use Python?  Installing Python IDE  Who uses python today  What can I do with python  A Sample Code  Python code execution  Running Python
  • 3. What is Python…?  Python is a general purpose programming language.  Python is a versatile and widely-used high-level programming language known for its simplicity and readability. Python emphasizes code readability, making it easy for beginners and experienced developers to write clear and logical code.  Python is dynamic.  Python is also called as Interpreted language
  • 4.  Python supports multiple programming paradigms, including procedural, object- oriented, and functional programming. Its syntax is clean and easy to understand, with fewer lines of code required compared to other languages. This makes it ideal for rapid development
  • 5. History  Invented in the Netherlands, early 90s by Guido van Rossum  Python was conceived in the late 1980s and its implementation was started in December 1989  Guido Van Rossum is fan of ‘Monty Python’s Flying Circus’, this is a famous TV show in Netherlands  Named after Monty Python  Open sourced from the beginning
  • 6. Scope of Python  Science - Bioinformatics  System Administration -Unix -Web logic -Web sphere  Web Application Development -CGI -Jython – Servlets  Testing scripts
  • 7. Key Features of Python  Python is a high-level, interpreted programming language known for its simplicity and readability.  Simple and Readable: Python's syntax is designed to be easy to understand and write, making it an excellent choice for beginners and experienced programmers alike.  Interpreted Language: Python code is executed line by line, making debugging easier and eliminating the need for a compilation step.  Dynamic Typing: You don’t need to declare data types explicitly; Python determines the type of variable during runtime.  Versatile and Portable: Python runs on multiple platforms, including Windows, macOS, Linux, and more. It can be used for web development, data analysis, artificial intelligence, automation, and much more.
  • 8.  Extensive Libraries and Frameworks: Python has a rich ecosystem of libraries (like NumPy, Pandas, TensorFlow) and frameworks (like Django, Flask) that simplify development in various domains.  Python is widely used in web development, data science, machine learning, automation, scientific computing, and more.  Cross-platform: Python can run on various operating systems, including Windows, Linux, and macOS.  Community support: Python has a large and active community, offering resources like tutorials, forums, and open-source libraries.
  • 9. Why do people use Python…? The following primary factors cited by Python users seem to be these:  Python is object-oriented Structure supports such concepts as polymorphism, operation overloading, and multiple inheritance.  Indentation Indentation is one of the greatest future in Python.  It's free (open source) Downloading and installing Python is free and easy Source code is easily accessible
  • 10. EXAMPLE  if condition:  # This is inside the if block  print("Condition is true")  if nested_condition:  # This is a nested block inside the if block  print("Nested condition is also true")
  • 11.  It's powerful - Dynamic typing - Built-in types and tools - Library utilities - Third party utilities (e.g. Numeric, NumPy, SciPy) - Automatic memory management  It's portable - Python runs virtually every major platform used today - As long as you have a compatible Python interpreter installed, Python programs will run in exactly the same manner, irrespective of platform.
  • 12.  It's mixable - Python can be linked to components written in other languages easily - Linking to fast, compiled code is useful to computationally intensive problems - - Python/C integration is quite common  It's easy to use - No intermediate compile and link steps as in C/ C++ - Python programs are compiled automatically to an intermediate form called bytecode, which the interpreter then reads - This gives Python the development speed of an interpreter without the performance loss inherent in purely interpreted languages  It's easy to learn - Structure and syntax are pretty intuitive and easy to grasp
  • 13. Installing Python  Python is pre-installed on most Unix systems, including Linux and MAC OS X  But for in Windows Operating Systems , user can download from the https://www.python.org/downloads/ - from the above link download latest version of python IDE and install, recent version is 3.4.1 but most of them uses version 2.7.7 only
  • 14.  After installing the Python Ver#2.7.7, go to start menu then click on python 2.7 in that one you can select python (command line) it is prompt with >>>
  • 15. Where uses python …  Web frameworks and applications.  GUI based desktop applications.  Graphics design, image processing applications, games, scientific applictions.  ML, AI, neural networks.  Data science and data visualization.  IOT  Database development..
  • 16. What can I do with Python…?  System programming  Graphical User Interface Programming  Internet Scripting  Database Programming  Gaming, Images, XML , Robot and more
  • 17. Enough to understand the code  Indentation matters to code meaning - Block structure indicated by indentation  First assignment to a variable creates it - Variable types don’t need to be declared. - Python figures out the variable types on its own.  Assignment is = and comparison is ==  For numbers + - * / % are as expected - Special use of + for string concatenation and % for string formatting (as in C’s printf)  Logical operators are words (and, or, not) not symbols  The basic printing command is print
  • 18. Python Code Execution  Python’s traditional runtime execution model: source code you type is translated to byte code, which is then run by the Python Virtual Machine. Your code is automatically compiled, but then it is interpreted. Source code extension is .py Byte code extension is .pyc (compiled python code)
  • 19. Anaconda Navigator • Anaconda Navigator is a desktop graphical user interface (GUI) included in Anaconda® Distribution that allows you to launch applications and manage conda packages, environments, and channels without using command line interface (CLI) commands. Navigator can search for packages on Anaconda.org or in a local Anaconda Repository. • It is available for Windows, macOS, and Linux.