SlideShare a Scribd company logo
2
Most read
8
Most read
11
Most read
python intro and installation.pptx
What is Python?
Python is a popular programming language. It was created by Guido
van Rossum, and released in 1991.
It is used for:
•web development (server-side),
•software development,
•mathematics,
•system scripting.
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.
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-
oriented way or a functional way.
Good to know
• The most recent major version of Python is Python 3,
which we shall be using in this tutorial. However,
Python 2, although not being updated with anything
other than security updates, is still quite popular.
• In this tutorial Python will be written in a text editor. It
is possible to write Python in an Integrated
Development Environment, such as Thonny, Pycharm,
Netbeans or Eclipse which are particularly useful when
managing larger collections of Python files.
Python Syntax compared to other
programming languages
• Python was designed for readability, and has some
similarities to the English language with influence from
mathematics.
• Python uses new lines to complete a command, as
opposed to other programming languages which often
use semicolons or parentheses.
• Python relies on indentation, using whitespace, to
define scope; such as the scope of loops, functions and
classes. Other programming languages often use curly-
brackets for this purpose.
Lets get started with python
Example::----our own Python Server
print("Hello, World!")
Python Getting Started
Python Install
• Many PCs and Macs will have python already installed.
• To check if you have python installed on a Windows PC,
search in the start bar for Python or run the following
on the Command Line (cmd.exe):
To check if you have python installed on a Linux or Mac,
then on linux open the command line or on Mac open the
Terminal and type:
download website: https://www.python.org/
Python Quickstart
• Python is an interpreted programming language, this
means that as a developer you write Python (.py) files
in a text editor and then put those files into the python
interpreter to be executed.
• The way to run a python file is like this on the
command line:
• Where "helloworld.py" is the name of your python file.
Let's write our first Python file, called helloworld.py,
which can be done in any text editor.
helloworld.py
print("Hello, World!")
Simple as that. Save your file. Open your command line,
navigate to the directory where you saved your file, and
run:
The output should read:
Congratulations,
you have written and executed your first Python program.
The Python Command Line
To test a short amount of code in python sometimes it is
quickest and easiest not to write the code in a file. This is
made possible because Python can be run as a command
line itself.
Type the following on the Windows, Mac or Linux
command line:
You will see something like this-
Whenever you are done in the python command
line, you can simply type the following to quit the
python command line interface:
exit()
python intro and installation.pptx

More Related Content

PDF
Lecture01 - Fundamental Programming with Python Language
DOCX
python.docx
PDF
Introducing Python Tutorial.pdf
DOCX
Tech Universe Python learning platform for bigeners
PDF
Python Programming Part 1.pdf
PDF
Python Programming Part 1.pdf
PDF
Introduction to Python Unit -1 Part .pdf
PDF
python-handbook.pdf
Lecture01 - Fundamental Programming with Python Language
python.docx
Introducing Python Tutorial.pdf
Tech Universe Python learning platform for bigeners
Python Programming Part 1.pdf
Python Programming Part 1.pdf
Introduction to Python Unit -1 Part .pdf
python-handbook.pdf

Similar to python intro and installation.pptx (20)

PDF
Python Book/Notes For Python Book/Notes For S.Y.B.Sc. I.T.
PDF
Mastering the Interview: 50 Common Interview Questions Demystified
PPTX
Python Programming Draft PPT.pptx
PPTX
Chapter 2: Basics of programming pyton programming
PPTX
Introduction to python for Beginners
PDF
REPORT ON AUDIT COURSE PYTHON BY SANA 2.pdf
PDF
Python Programming.pdf
PPT
1-ppt-python.ppt
PDF
session5-Getting stated with Python.pdf
PDF
Unit 1-Part-1-Introduction to Python.pdf
PDF
Python_slides.pdf
PPTX
Python Tutorial | Python Programming Language
PPT
python-ppt.ppt
PPT
python-ppt.ppt
PPTX
An Introduction To Python - Python, Print()
PPTX
introduction to python in computer graphics.pptx
PDF
Fundamentals of python
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 Book/Notes For Python Book/Notes For S.Y.B.Sc. I.T.
Mastering the Interview: 50 Common Interview Questions Demystified
Python Programming Draft PPT.pptx
Chapter 2: Basics of programming pyton programming
Introduction to python for Beginners
REPORT ON AUDIT COURSE PYTHON BY SANA 2.pdf
Python Programming.pdf
1-ppt-python.ppt
session5-Getting stated with Python.pdf
Unit 1-Part-1-Introduction to Python.pdf
Python_slides.pdf
Python Tutorial | Python Programming Language
python-ppt.ppt
python-ppt.ppt
An Introduction To Python - Python, Print()
introduction to python in computer graphics.pptx
Fundamentals of python
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...
Ad

More from adityakumawat625 (16)

PDF
continous random variable in probablity and statistics for CSE
PDF
expectation and variance of C.R.V in prob and stat
PPTX
Data Analytics.pptx
PPTX
Python Tuples.pptx
PPTX
Python Operators.pptx
PPTX
Python Lists.pptx
PPTX
Python Data Types,numbers.pptx
PPTX
Python comments and variables.pptx
PPTX
Python Variables.pptx
PPTX
Python Strings.pptx
PPTX
sql datatypes.pptx
PPTX
sql_operators.pptx
PPTX
SQL Tables.pptx
PPTX
create database.pptx
PPTX
SQL syntax.pptx
PPTX
Introduction to SQL.pptx
continous random variable in probablity and statistics for CSE
expectation and variance of C.R.V in prob and stat
Data Analytics.pptx
Python Tuples.pptx
Python Operators.pptx
Python Lists.pptx
Python Data Types,numbers.pptx
Python comments and variables.pptx
Python Variables.pptx
Python Strings.pptx
sql datatypes.pptx
sql_operators.pptx
SQL Tables.pptx
create database.pptx
SQL syntax.pptx
Introduction to SQL.pptx
Ad

Recently uploaded (20)

PDF
Understanding Forklifts - TECH EHS Solution
PDF
Which alternative to Crystal Reports is best for small or large businesses.pdf
PDF
Navsoft: AI-Powered Business Solutions & Custom Software Development
PDF
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
PPTX
VVF-Customer-Presentation2025-Ver1.9.pptx
PDF
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 41
PDF
top salesforce developer skills in 2025.pdf
PDF
AI in Product Development-omnex systems
PDF
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
PDF
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
PDF
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
PPTX
ManageIQ - Sprint 268 Review - Slide Deck
PPTX
ISO 45001 Occupational Health and Safety Management System
PDF
System and Network Administration Chapter 2
PDF
Wondershare Filmora 15 Crack With Activation Key [2025
PDF
2025 Textile ERP Trends: SAP, Odoo & Oracle
PPTX
ai tools demonstartion for schools and inter college
PPTX
Odoo POS Development Services by CandidRoot Solutions
PPTX
Transform Your Business with a Software ERP System
Understanding Forklifts - TECH EHS Solution
Which alternative to Crystal Reports is best for small or large businesses.pdf
Navsoft: AI-Powered Business Solutions & Custom Software Development
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
VVF-Customer-Presentation2025-Ver1.9.pptx
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
Internet Downloader Manager (IDM) Crack 6.42 Build 41
top salesforce developer skills in 2025.pdf
AI in Product Development-omnex systems
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
ManageIQ - Sprint 268 Review - Slide Deck
ISO 45001 Occupational Health and Safety Management System
System and Network Administration Chapter 2
Wondershare Filmora 15 Crack With Activation Key [2025
2025 Textile ERP Trends: SAP, Odoo & Oracle
ai tools demonstartion for schools and inter college
Odoo POS Development Services by CandidRoot Solutions
Transform Your Business with a Software ERP System

python intro and installation.pptx

  • 2. What is Python? Python is a popular programming language. It was created by Guido van Rossum, and released in 1991. It is used for: •web development (server-side), •software development, •mathematics, •system scripting.
  • 3. 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.
  • 4. 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- oriented way or a functional way.
  • 5. Good to know • The most recent major version of Python is Python 3, which we shall be using in this tutorial. However, Python 2, although not being updated with anything other than security updates, is still quite popular. • In this tutorial Python will be written in a text editor. It is possible to write Python in an Integrated Development Environment, such as Thonny, Pycharm, Netbeans or Eclipse which are particularly useful when managing larger collections of Python files.
  • 6. Python Syntax compared to other programming languages • Python was designed for readability, and has some similarities to the English language with influence from mathematics. • Python uses new lines to complete a command, as opposed to other programming languages which often use semicolons or parentheses. • Python relies on indentation, using whitespace, to define scope; such as the scope of loops, functions and classes. Other programming languages often use curly- brackets for this purpose.
  • 7. Lets get started with python Example::----our own Python Server print("Hello, World!")
  • 8. Python Getting Started Python Install • Many PCs and Macs will have python already installed. • To check if you have python installed on a Windows PC, search in the start bar for Python or run the following on the Command Line (cmd.exe): To check if you have python installed on a Linux or Mac, then on linux open the command line or on Mac open the Terminal and type: download website: https://www.python.org/
  • 9. Python Quickstart • Python is an interpreted programming language, this means that as a developer you write Python (.py) files in a text editor and then put those files into the python interpreter to be executed. • The way to run a python file is like this on the command line: • Where "helloworld.py" is the name of your python file.
  • 10. Let's write our first Python file, called helloworld.py, which can be done in any text editor. helloworld.py print("Hello, World!") Simple as that. Save your file. Open your command line, navigate to the directory where you saved your file, and run: The output should read:
  • 11. Congratulations, you have written and executed your first Python program.
  • 12. The Python Command Line To test a short amount of code in python sometimes it is quickest and easiest not to write the code in a file. This is made possible because Python can be run as a command line itself. Type the following on the Windows, Mac or Linux command line:
  • 13. You will see something like this- Whenever you are done in the python command line, you can simply type the following to quit the python command line interface: exit()