Introduction
to Python
Day 1
RIEL SOVANNDOEUR
What is Python?
 Python is a widely used high-level programming language created by
Guido van Rossum in the late 1980s.
 It is called high-level programming because Python is closer to
human languages and further from machine languages, easy to use
and understand, it can run on all platforms, has many libraries.
 Codes that we write in Python have to be interpreted by a special
program known as the Python interpreter.
Why learn Python?
 One of the key features of Python is: simplicity, making it the ideal
language for beginners to learn.
 Python require considerably fewer lines of code to perform the
same task compared to other languages such as C.
 Python is a cross platform language, which means that code
written for one operating system, such as Windows, will work well
on Mac OS or Linux without making any changes to the Python code.
Where do we use Python?
 Python can be used for a large variety of tasks, such as for desktop
applications, database applications, network programming, game
programming and even mobile development.
Python Interpreter
 Installing Interpreter
Interactive mode VS Script mode
 The Python Shell allows us to use Python in interactive mode. This
means we can enter one command at a time.
 Script mode is where you put a bunch of commands into a file (a script),
and then tell Python to run the file.
Python Input()
Day 1 Introduction to Python.pptx
Day 1 Introduction to Python.pptx
Day 1 Introduction to Python.pptx
Day 1 Introduction to Python.pptx
Day 1 Introduction to Python.pptx
Day 1 Introduction to Python.pptx
Day 1 Introduction to Python.pptx
Day 1 Introduction to Python.pptx

Day 1 Introduction to Python.pptx

  • 1.
  • 2.
    What is Python? Python is a widely used high-level programming language created by Guido van Rossum in the late 1980s.  It is called high-level programming because Python is closer to human languages and further from machine languages, easy to use and understand, it can run on all platforms, has many libraries.  Codes that we write in Python have to be interpreted by a special program known as the Python interpreter.
  • 3.
    Why learn Python? One of the key features of Python is: simplicity, making it the ideal language for beginners to learn.  Python require considerably fewer lines of code to perform the same task compared to other languages such as C.  Python is a cross platform language, which means that code written for one operating system, such as Windows, will work well on Mac OS or Linux without making any changes to the Python code.
  • 4.
    Where do weuse Python?  Python can be used for a large variety of tasks, such as for desktop applications, database applications, network programming, game programming and even mobile development.
  • 5.
  • 6.
    Interactive mode VSScript mode  The Python Shell allows us to use Python in interactive mode. This means we can enter one command at a time.  Script mode is where you put a bunch of commands into a file (a script), and then tell Python to run the file.
  • 8.