SlideShare a Scribd company logo
Welcome to the Python
Programming Course
Introduction to Python
• Python is a high level, interpreted, general
purpose ,dynamic programming language.
• Conceived in late 80s and its usage began in
1989.
• It is a free and open software
• Open source software: is a kind of software in
which the source code of the software is made
public. It is a community based development.
• Fewer lines of code when compared to C ,C++
and JAVA.
• It Supports automatic memory management
• Has large standard library
• Can be used in any OS as the interpreter is
available for many OS- platform indepedent
• Can be used in Object oriented, Functional
programming, Procedural programming
• Reusability
Features of Python
• The code written python is automatically
compiled to byte code and executed.
• Can be used as Scripting language
• Uses Object oriented programming approach
• Supports features like nested code blocks,
functions, classes, modules and packages
• Has built in data types like strings, lists, tuple,
dictionaries
• No type declaration
• Python program can be extended
IDLE
• IDLE (Integrated Development and Learning
Environment) is an integrated development
environment (IDE) for Python.
• The Python installer for Windows contains the
IDLE module by default.
• IDLE is not available by default in Python
distributions for Linux. It needs to be installed
using the respective package managers.
• IDLE can be used to execute a single
statement just like Python Shell and also to
create, modify and execute Python scripts.
• IDLE provides a fully-featured text editor to
create Python scripts that includes features
like syntax highlighting, autocompletion and
smart indent. It also has a debugger with
stepping and breakpoints features.
• Anoconda jupyter notebook,spyder
Python - Shell (Interpreter)
• Python is an interpreter language. It means it
executes the code line by line. Python
provides a Python Shell (also known as Python
Interactive Shell) which is used to execute a
single Python command and get the result.
• Python Shell waits for the input command
from the user. As soon as the user enters the
command, it executes it and displays the
result.
Comments
• Comments are annotatations made by the
programmer helping other programmers
understand the code
• Python uses the hash character(#) for
comments
• # is put before the text and hence will not be
parsed by the interpreter.
• No error message will be displayed
• Does not affect the programming part
• >>> 3+5 addition
• This shows syntax error
• >>> 3+5 #addition commands
• No error and output displayed as 8
Identifiers
• It is a name given to variable, function, class,
module or other object etc
• Can begin with uppercase or lowercase letters or
an Underscore with a combination of any number
of letters, digits or underscores
• No other special characters are allowed
• Spaces are not allowed
• Python is a case sensitive language
Eg: Hello and hello different variables
• Class name starts with a uppercase letter
• Examples
• Valid:
MyName, My_Name , _myName
• Invalid:
My Name, 3rdYear, Your#Name
Thank You

More Related Content

PDF
Programming with \'C\'
PDF
Introduction to python
PPTX
Presentation on java
PPTX
Beginning Python Programming
PPTX
Python Internals Optimization Choices Made - Codementors Office Hours with St...
PPTX
PART 1 - Python Tutorial | Variables and Data Types in Python
PPTX
Introduction to Python Programming
PPTX
Introduction about Python by JanBask Training
Programming with \'C\'
Introduction to python
Presentation on java
Beginning Python Programming
Python Internals Optimization Choices Made - Codementors Office Hours with St...
PART 1 - Python Tutorial | Variables and Data Types in Python
Introduction to Python Programming
Introduction about Python by JanBask Training

What's hot (20)

PPTX
Python programming introduction
PPTX
Programming
ODP
ODP
Using ANTLR on real example - convert "string combined" queries into paramete...
PDF
How to use Ruby code inside Elixir
PPSX
Ic lecture8
PDF
Acceptance Test Drive Development with Robot Framework
PPTX
Python programming
PDF
Introduction to python
PPTX
Python Programming
ODP
ANTLR4 and its testing
PPTX
Language Translator ( Compiler)
PDF
Python Intro
PPT
Compiler Design Basics
PPTX
Python 101
PDF
JavaCro'14 - Test Automation using RobotFramework Libraries – Stojan Peshov
PPTX
Computer Language Translator
PDF
ATDD Using Robot Framework
PPTX
COMPUTER LANGUAGES AND PROGRAMMING
PPTX
Before Starting Python Programming Language
Python programming introduction
Programming
Using ANTLR on real example - convert "string combined" queries into paramete...
How to use Ruby code inside Elixir
Ic lecture8
Acceptance Test Drive Development with Robot Framework
Python programming
Introduction to python
Python Programming
ANTLR4 and its testing
Language Translator ( Compiler)
Python Intro
Compiler Design Basics
Python 101
JavaCro'14 - Test Automation using RobotFramework Libraries – Stojan Peshov
Computer Language Translator
ATDD Using Robot Framework
COMPUTER LANGUAGES AND PROGRAMMING
Before Starting Python Programming Language
Ad

Similar to Python Programming (20)

PPTX
Python Mastery: A Comprehensive Guide to Setting Up Your Development Environment
PPT
1-ppt-python.ppt
PPTX
Session-1_Introduction to Python.pptx
PPTX
UNIT 1 PYTHON introduction and basic level
PPTX
PYTHON FEATURES.pptx
PDF
Introduction to Python Unit -1 Part .pdf
PDF
Python PPT1.pdf
PDF
session5-Getting stated with Python.pdf
PDF
Python programming
PDF
Class_X_PYTHON_J.pdf
PPTX
MODULE 1.pptx
PDF
Unit 1-Part-1-Introduction to Python.pdf
PPT
Python for students step by step guidance
PPTX
Python_Introduction_Good_PPT.pptx
PDF
REPORT ON AUDIT COURSE PYTHON BY SANA 2.pdf
PPTX
Chapter 2: Basics of programming pyton programming
PDF
Web Programming UNIT VIII notes
PDF
Python for katana
PDF
WEB PROGRAMMING UNIT VIII BY BHAVSINGH MALOTH
PDF
Python Programing Bio computing,basic concepts lab,,
Python Mastery: A Comprehensive Guide to Setting Up Your Development Environment
1-ppt-python.ppt
Session-1_Introduction to Python.pptx
UNIT 1 PYTHON introduction and basic level
PYTHON FEATURES.pptx
Introduction to Python Unit -1 Part .pdf
Python PPT1.pdf
session5-Getting stated with Python.pdf
Python programming
Class_X_PYTHON_J.pdf
MODULE 1.pptx
Unit 1-Part-1-Introduction to Python.pdf
Python for students step by step guidance
Python_Introduction_Good_PPT.pptx
REPORT ON AUDIT COURSE PYTHON BY SANA 2.pdf
Chapter 2: Basics of programming pyton programming
Web Programming UNIT VIII notes
Python for katana
WEB PROGRAMMING UNIT VIII BY BHAVSINGH MALOTH
Python Programing Bio computing,basic concepts lab,,
Ad

Recently uploaded (20)

PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PDF
TR - Agricultural Crops Production NC III.pdf
PDF
Complications of Minimal Access Surgery at WLH
PDF
RMMM.pdf make it easy to upload and study
PDF
01-Introduction-to-Information-Management.pdf
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PPTX
Cell Structure & Organelles in detailed.
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PDF
Microbial disease of the cardiovascular and lymphatic systems
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PDF
VCE English Exam - Section C Student Revision Booklet
PDF
Basic Mud Logging Guide for educational purpose
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PDF
O7-L3 Supply Chain Operations - ICLT Program
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PPTX
Pharma ospi slides which help in ospi learning
PDF
Sports Quiz easy sports quiz sports quiz
PPTX
Final Presentation General Medicine 03-08-2024.pptx
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
TR - Agricultural Crops Production NC III.pdf
Complications of Minimal Access Surgery at WLH
RMMM.pdf make it easy to upload and study
01-Introduction-to-Information-Management.pdf
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
Cell Structure & Organelles in detailed.
human mycosis Human fungal infections are called human mycosis..pptx
Pharmacology of Heart Failure /Pharmacotherapy of CHF
Microbial disease of the cardiovascular and lymphatic systems
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
VCE English Exam - Section C Student Revision Booklet
Basic Mud Logging Guide for educational purpose
O5-L3 Freight Transport Ops (International) V1.pdf
O7-L3 Supply Chain Operations - ICLT Program
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
102 student loan defaulters named and shamed – Is someone you know on the list?
Pharma ospi slides which help in ospi learning
Sports Quiz easy sports quiz sports quiz
Final Presentation General Medicine 03-08-2024.pptx

Python Programming

  • 1. Welcome to the Python Programming Course
  • 2. Introduction to Python • Python is a high level, interpreted, general purpose ,dynamic programming language. • Conceived in late 80s and its usage began in 1989. • It is a free and open software • Open source software: is a kind of software in which the source code of the software is made public. It is a community based development.
  • 3. • Fewer lines of code when compared to C ,C++ and JAVA. • It Supports automatic memory management • Has large standard library • Can be used in any OS as the interpreter is available for many OS- platform indepedent • Can be used in Object oriented, Functional programming, Procedural programming • Reusability
  • 4. Features of Python • The code written python is automatically compiled to byte code and executed. • Can be used as Scripting language • Uses Object oriented programming approach • Supports features like nested code blocks, functions, classes, modules and packages • Has built in data types like strings, lists, tuple, dictionaries • No type declaration • Python program can be extended
  • 5. IDLE • IDLE (Integrated Development and Learning Environment) is an integrated development environment (IDE) for Python. • The Python installer for Windows contains the IDLE module by default. • IDLE is not available by default in Python distributions for Linux. It needs to be installed using the respective package managers.
  • 6. • IDLE can be used to execute a single statement just like Python Shell and also to create, modify and execute Python scripts. • IDLE provides a fully-featured text editor to create Python scripts that includes features like syntax highlighting, autocompletion and smart indent. It also has a debugger with stepping and breakpoints features. • Anoconda jupyter notebook,spyder
  • 7. Python - Shell (Interpreter) • Python is an interpreter language. It means it executes the code line by line. Python provides a Python Shell (also known as Python Interactive Shell) which is used to execute a single Python command and get the result. • Python Shell waits for the input command from the user. As soon as the user enters the command, it executes it and displays the result.
  • 8. Comments • Comments are annotatations made by the programmer helping other programmers understand the code • Python uses the hash character(#) for comments • # is put before the text and hence will not be parsed by the interpreter. • No error message will be displayed • Does not affect the programming part
  • 9. • >>> 3+5 addition • This shows syntax error • >>> 3+5 #addition commands • No error and output displayed as 8
  • 10. Identifiers • It is a name given to variable, function, class, module or other object etc • Can begin with uppercase or lowercase letters or an Underscore with a combination of any number of letters, digits or underscores • No other special characters are allowed • Spaces are not allowed • Python is a case sensitive language Eg: Hello and hello different variables • Class name starts with a uppercase letter
  • 11. • Examples • Valid: MyName, My_Name , _myName • Invalid: My Name, 3rdYear, Your#Name