SlideShare a Scribd company logo
2
Most read
Introduction to PythonIntroduction to Python
ProgrammingProgramming
Why Python?Why Python?
 Python is what is referred to as an object-oriented
programming language (OOP)
 OOP is a programming style that allows programmers to
reuse pre made code.
◦ Don’t need to recreate the wheel
 Thus creates a much more efficient programming language
so programmers don’t have to spend tedious amounts of
time creating code that had been published.
 Simple
 Less Syntax
 We will be discussing OOP as we move through the course.
What is Python?What is Python?
Python is a general purpose programming
language. That means you can use Python
to write code for any programming tasks.
◦ Google search engine
◦ Mission critical projects in NASA,
◦ Processing financial transactions at New York
Stock Exchange.
◦ Data Analytics
Interpreted?Interpreted?
Python is interpreted, which means that
python code is translated and executed by
an interpreter one statement at a time.
This means you can run commands/code
on the command prompt…
Through a command
prompt with a text file…
Using an IDE
What Does It Look Like?What Does It Look Like?
Python Statements
Parts of a Python ProgramParts of a Python Program
Def: Source Code is the program text
entered into an interpreter by the
programmer.
◦ The saved file is referred to as, the source file.
◦ The main file in a python program, called main
◦ Can program on the command prompt
The extension to a source file is “.py”
◦ Xcel - .xls
◦ Power Point - .ppt
Two main parts to a source file
◦ Libraries
◦ Main code
Good programming proclamationsGood programming proclamations
Using comments to denote programs or
sections of code
◦ A comment beginning with # is called a single-line comment
because it terminates at the end of the current line.
◦ You also may use a multi-line comment—possibly containing
many lines—begins with ’’’ and ends with ’’’.
You use blank lines, space characters and tab characters
(i.e., “tabs”) to make programs easier to read.
◦ Together, these characters are known as white space.
◦ White-space characters are USUALLY ignored by the interpreter.
◦ Python has its own rules with white space
CheckpointCheckpoint
1. What is OOP?
2. What is the name of the file and code
that the text for a program is entered into
the interpreter?
3. What is a library? Why aren’t all the
functions preloaded?
4. What are the two styles of comments
you can utilize and their symbols?
Printing a Line of TextPrinting a Line of Text
print(“ “)
Anything placed inside the quotes will be printed on the screen
upon execution of the print command.
Printing a Line of TextPrinting a Line of Text
print(“ “)
Anything placed inside the quotes will be printed on the screen
upon execution of the print command.

More Related Content

PDF
శ్రీ త్రినాథ వ్రతకల్పము కొత్త సంపుటి - Sri trinadha mela updated version
PPTX
Beginning Python Programming
PPT
TOEFL Presentation
PPTX
Introduction to python for Beginners
PDF
Python Programming Language | Python Classes | Python Tutorial | Python Train...
PPTX
Python Seminar PPT
PPTX
System software
ODP
MS Word Basics
శ్రీ త్రినాథ వ్రతకల్పము కొత్త సంపుటి - Sri trinadha mela updated version
Beginning Python Programming
TOEFL Presentation
Introduction to python for Beginners
Python Programming Language | Python Classes | Python Tutorial | Python Train...
Python Seminar PPT
System software
MS Word Basics

What's hot (20)

PPT
Python ppt
PPTX
Python presentation by Monu Sharma
PPTX
Python programming introduction
PPTX
Basics of python
PDF
Python-01| Fundamentals
PPTX
Introduction to Python Basics Programming
PPTX
Introduction to python
PPTX
Python and its Applications
PPTX
Python 3 Programming Language
PPTX
Presentation on python
PDF
Strings in python
PPT
Python Programming ppt
PPTX
Python
PDF
Introduction To Python | Edureka
PPTX
Python programming | Fundamentals of Python programming
PDF
Python Basics | Python Tutorial | Edureka
PPTX
Python basics
PDF
Python Course | Python Programming | Python Tutorial | Python Training | Edureka
Python ppt
Python presentation by Monu Sharma
Python programming introduction
Basics of python
Python-01| Fundamentals
Introduction to Python Basics Programming
Introduction to python
Python and its Applications
Python 3 Programming Language
Presentation on python
Strings in python
Python Programming ppt
Python
Introduction To Python | Edureka
Python programming | Fundamentals of Python programming
Python Basics | Python Tutorial | Edureka
Python basics
Python Course | Python Programming | Python Tutorial | Python Training | Edureka
Ad

Viewers also liked (7)

PPTX
Variables and Expressions
PPT
PPTX
Logical Operators
PPT
Formatting Output
PPTX
For Loops and Nesting in Python
PPTX
Computer Logic
PPT
Conditional Loops Python
Variables and Expressions
Logical Operators
Formatting Output
For Loops and Nesting in Python
Computer Logic
Conditional Loops Python
Ad

Similar to Intro to Python (20)

DOCX
Python Programming and ApplicationsUnit-1.docx
PDF
Learning python in a cool and fun way-Module-1.1.pdf
PDF
Introduction to Python Unit -1 Part .pdf
PPT
Intro to Python with GPIO
PPT
Intro to Python
PPTX
Python-00 | Introduction and installing
PDF
Research paper on python by Rj
PPTX
INTRODUCTION-TO-PYTHON
DOCX
PYTHON-Unit-I-Notes for python learnerss
PPTX
Python basics
PPTX
PYTHON FEATURES.pptx
PPTX
Introduction to Python Programming language.pptx
PDF
Python Programming Part 1.pdf
PDF
Python Programming Part 1.pdf
PDF
Python Programming Part 1.pdf
PPTX
PPT
Introduction to python
PDF
Ways To Become A Good Python Developer
PPTX
Python Programming
PPTX
Python Programming Language
Python Programming and ApplicationsUnit-1.docx
Learning python in a cool and fun way-Module-1.1.pdf
Introduction to Python Unit -1 Part .pdf
Intro to Python with GPIO
Intro to Python
Python-00 | Introduction and installing
Research paper on python by Rj
INTRODUCTION-TO-PYTHON
PYTHON-Unit-I-Notes for python learnerss
Python basics
PYTHON FEATURES.pptx
Introduction to Python Programming language.pptx
Python Programming Part 1.pdf
Python Programming Part 1.pdf
Python Programming Part 1.pdf
Introduction to python
Ways To Become A Good Python Developer
Python Programming
Python Programming Language

More from primeteacher32 (20)

PPT
Software Development Life Cycle
PPTX
Variable Scope
PPTX
Returning Data
PPTX
Intro to Functions
PPTX
Introduction to GUIs with guizero
PPTX
Function Parameters
PPTX
Nested Loops
PPT
Conditional Loops
PPTX
Introduction to Repetition Structures
PPTX
Input Validation
PPTX
Windows File Systems
PPTX
Nesting Conditionals
PPTX
Conditionals
PPTX
Variables and Statements
PPTX
Variables and User Input
PPTX
Raspberry Pi
PPT
Hardware vs. Software Presentations
PPTX
Block chain security
PPTX
PPTX
System Administration
Software Development Life Cycle
Variable Scope
Returning Data
Intro to Functions
Introduction to GUIs with guizero
Function Parameters
Nested Loops
Conditional Loops
Introduction to Repetition Structures
Input Validation
Windows File Systems
Nesting Conditionals
Conditionals
Variables and Statements
Variables and User Input
Raspberry Pi
Hardware vs. Software Presentations
Block chain security
System Administration

Recently uploaded (20)

PDF
シュアーイノベーション採用ピッチ資料|Company Introduction & Recruiting Deck
PDF
Invincible Season 2 Storyboard Revisions by Mark G
PPTX
Cyber_Awareness_Presrerereerentation.pptx
PPTX
PRESENTATION OF SEPSIS, SEPTIC SHOCK.pptx
PPTX
OnePlus 13R – ⚡ All-Rounder King Performance: Snapdragon 8 Gen 3 – same as iQ...
PDF
Daisia Frank: Strategy-Driven Real Estate with Heart.pdf
PPTX
Negotiation skills/////////////////.pptx
PPTX
Untitled presentation voice baed jounral
PPTX
ESD MODULE-5hdbdhbdbdbdbbdbdbbdndbdbdbdbbdbd
PDF
RIBOSOMES.12.pdf kerala msc botany degree
PPTX
Life Skills Stress_Management_Presentation.pptx
DOCX
How to Become a Criminal Profiler or Behavioural Analyst.docx
PDF
reStartEvents 8:7 Nationwide All-Clearances Employer Directory.pdf
PPTX
First Homeroom Meeting in Dahlia SY2025-2026
PPTX
LIFE ORIENTATION SLIDES 2025 Grade 11.pptx
PPTX
Nervous_System_Drugs_PPT.pptxXXXXXXXXXXXXXXXXX
PDF
Looking forward to a challenging Role in the same area and would like to expl...
PPTX
Autonomic_Nervous_SystemM_Drugs_PPT.pptx
PPTX
Women Entrepreneurship in India - A Brief Study
PPTX
2200jejejejejjdjeiehwiwheheu1002031.pptx
シュアーイノベーション採用ピッチ資料|Company Introduction & Recruiting Deck
Invincible Season 2 Storyboard Revisions by Mark G
Cyber_Awareness_Presrerereerentation.pptx
PRESENTATION OF SEPSIS, SEPTIC SHOCK.pptx
OnePlus 13R – ⚡ All-Rounder King Performance: Snapdragon 8 Gen 3 – same as iQ...
Daisia Frank: Strategy-Driven Real Estate with Heart.pdf
Negotiation skills/////////////////.pptx
Untitled presentation voice baed jounral
ESD MODULE-5hdbdhbdbdbdbbdbdbbdndbdbdbdbbdbd
RIBOSOMES.12.pdf kerala msc botany degree
Life Skills Stress_Management_Presentation.pptx
How to Become a Criminal Profiler or Behavioural Analyst.docx
reStartEvents 8:7 Nationwide All-Clearances Employer Directory.pdf
First Homeroom Meeting in Dahlia SY2025-2026
LIFE ORIENTATION SLIDES 2025 Grade 11.pptx
Nervous_System_Drugs_PPT.pptxXXXXXXXXXXXXXXXXX
Looking forward to a challenging Role in the same area and would like to expl...
Autonomic_Nervous_SystemM_Drugs_PPT.pptx
Women Entrepreneurship in India - A Brief Study
2200jejejejejjdjeiehwiwheheu1002031.pptx

Intro to Python

  • 1. Introduction to PythonIntroduction to Python ProgrammingProgramming
  • 2. Why Python?Why Python?  Python is what is referred to as an object-oriented programming language (OOP)  OOP is a programming style that allows programmers to reuse pre made code. ◦ Don’t need to recreate the wheel  Thus creates a much more efficient programming language so programmers don’t have to spend tedious amounts of time creating code that had been published.  Simple  Less Syntax  We will be discussing OOP as we move through the course.
  • 3. What is Python?What is Python? Python is a general purpose programming language. That means you can use Python to write code for any programming tasks. ◦ Google search engine ◦ Mission critical projects in NASA, ◦ Processing financial transactions at New York Stock Exchange. ◦ Data Analytics
  • 4. Interpreted?Interpreted? Python is interpreted, which means that python code is translated and executed by an interpreter one statement at a time. This means you can run commands/code on the command prompt… Through a command prompt with a text file… Using an IDE
  • 5. What Does It Look Like?What Does It Look Like? Python Statements
  • 6. Parts of a Python ProgramParts of a Python Program Def: Source Code is the program text entered into an interpreter by the programmer. ◦ The saved file is referred to as, the source file. ◦ The main file in a python program, called main ◦ Can program on the command prompt The extension to a source file is “.py” ◦ Xcel - .xls ◦ Power Point - .ppt Two main parts to a source file ◦ Libraries ◦ Main code
  • 7. Good programming proclamationsGood programming proclamations Using comments to denote programs or sections of code ◦ A comment beginning with # is called a single-line comment because it terminates at the end of the current line. ◦ You also may use a multi-line comment—possibly containing many lines—begins with ’’’ and ends with ’’’. You use blank lines, space characters and tab characters (i.e., “tabs”) to make programs easier to read. ◦ Together, these characters are known as white space. ◦ White-space characters are USUALLY ignored by the interpreter. ◦ Python has its own rules with white space
  • 8. CheckpointCheckpoint 1. What is OOP? 2. What is the name of the file and code that the text for a program is entered into the interpreter? 3. What is a library? Why aren’t all the functions preloaded? 4. What are the two styles of comments you can utilize and their symbols?
  • 9. Printing a Line of TextPrinting a Line of Text print(“ “) Anything placed inside the quotes will be printed on the screen upon execution of the print command.
  • 10. Printing a Line of TextPrinting a Line of Text print(“ “) Anything placed inside the quotes will be printed on the screen upon execution of the print command.

Editor's Notes

  • #6: Common elements in programming languages: Key Words Programmer-Defined Identifiers Operators Punctuation Syntax