SlideShare a Scribd company logo
2
Most read
3
Most read
Introduction to Python Glossary
Created By: Ioana Avram, Teaching Assistant
1. Python language​ -- Python is a programming language that does not use a compiler, but an
interpreter. It is also a high level language like Java. It is easy to use and learn and has high
readability, efficient code and vast amount of code libraries and functions. Mostly
used for web and app development.
2. Data types -- ​The data types of Python are: numbers, strings, lists and tuples. As well as
dictionaries. Data types in general are spaces in memory for when you make variables. Each
data type can only hold their type of data. For example a String data type only holds strings, not
numbers or anything else. Number types only hold numbers, not strings and so on.
3. Modules -- ​A category of a bunch of code, methods, classes etc that are used to do one type
of thing. Usually stored in a file and used as an object.
It’s like import libraries in Java. You want to use math, you import the math library. You want
user input, import the Scanner or JOptionPane libraries, and so on.
4. Scripts -- ​A script is a program that does a number of tasks that you can run in a command
line or by running it as an executable. Mostly used in shell scripting (using the bash language)
or Python, although it can be used in a variety of languages.
5. Statements​ -- There are 3 statements in programming. If, While/Do while and For.
6. Functions -- ​A function is a group of pieces of code that does one task.
7. Dictionaries -- ​A dictionary is a collection of items that are unordered.
8. Lists​ -- A list data type is something you will only find in Python. It is similar to an array, but a
bit more free since arrays in general only allow for 1 type of data while lists allow for multiple
types of data and even other lists.
9. If statement​ -- Conditional statement. If a condition is met then do an action. If a condition is
not met then either prompt the user for an action or do a different action.
10. While loop -- ​Another statement. The while loop or statement checks for a condition and
while that condition is not met, do an action or a number of actions.
Brought to you by: Develop your team with the ​fastest growing catalog​ in the
cybersecurity industry. Enterprise-grade workforce development
management, advanced training features and detailed skill gap and
competency analytics.
1
11. For loop -- ​A for loop is used for loop a piece of code or a group of pieces of code. Useful
for repetitive lines that need to be done a specific number of times. Instead of doing them all
manually you use a for loop to do them for you.
12. Truth tables -- ​In logic a truth table is made of 1s and 0s or the values true and false. It is
used in math to find out whether a statement is true or false.
13. Logic gates -- ​There are 3 main logic gates, AND, OR and NOT. From these a variety of
other types of gates and calculations can be made.
14. Boolean logic -- ​The logic used in math, to make truth tables with logic gates. Consists of
just 2 values, true and false, or 1 and 0 and 3 operators, And, Or and Not.
15. Variables -- ​A variable is a container or box where you store information for use at a later
date. For example to add/subtract/whatever other operation you can think of you need 3
variables. 1 for the first argument or number, 1 for the second and 1 to store the result.
16. Classes -- ​A class is a collection of code methods and variables that can be stored in a
separate file. It is often used as a template to make objects that can be used by other such
classes or parts of a project.
17. Python shell -- ​The python shell is where you can run code instantly like a command line
IDE but you can’t make whole programs in it, just run separate lines of code.
18. Compiler -- ​A compiler takes the code that you wrote in whatever environment or program
that you used and transforms it into binary data for it to run. A program by itself can’t run unless
it’s compiled because a computer can only understand binary.
19. Interpreter -- ​An interpreter takes the code one line at a time. It doesn't translate the whole
program into binary. Unlike a compiler who only reports errors after compiling the whole code,
an interpreter only translates the code until it finds an error, making debugging easier compared
to compiler languages.
20. Def -- ​Used to define a function that is not already present in Python, known as a user
defined function.
21. Break -- ​Used in loops and statements to break out of said loop. Mostly used in switch
statements, but can be used in other statements.
22. IDLE -- ​IDLE is the Integrated Development Environment that the Python language uses.
23. PEP 8 ​-- A style guide on how to write Python code in a way that it’s easy to read and
understand
24. PEP 20 -- ​PEP 20 is called the Zen of Python. They are the guiding principles behind the the
Python language and it’s development.
Sources:
Brought to you by: Develop your team with the ​fastest growing catalog​ in the
cybersecurity industry. Enterprise-grade workforce development
management, advanced training features and detailed skill gap and
competency analytics.
2
https://www.programiz.com/python-programming/keyword-list
https://www.programiz.com/python-programming/dictionary
https://www.programiz.com/python-programming/list
https://www.programiz.com/article/difference-compiler-interpreter
https://www.tjleone.com/games-to-google-truth-tables.htm
https://www.tutorialspoint.com/python/python_variable_types.htm
Brought to you by: Develop your team with the ​fastest growing catalog​ in the
cybersecurity industry. Enterprise-grade workforce development
management, advanced training features and detailed skill gap and
competency analytics.
3

More Related Content

Similar to Introdution to Python Glossary - basics of python (20)

PPTX
Introduction_to_Python.pptx
Vinay Chowdary
 
PPTX
1.Basic_Syntax
Mohamed Essam
 
PPTX
Python basic syntax
Mohamed Essam
 
DOCX
Python Course.docx
AdnanAhmad57885
 
PPTX
Introduction to python lecture (1)
Ali ٍSattar
 
PDF
Python Course In Chandigarh
Excellence Academy
 
PPTX
Artificial Intelligence concepts in a Nutshell
kannanalagu1
 
PDF
🐍⚡ “Python Panache: Code Like a Pro, Not a Programmer!”
yashikanigam1
 
PPTX
Python presentation of Government Engineering College Aurangabad, Bihar
UttamKumar617567
 
PDF
Top Most Python Interview Questions.pdf
Datacademy.ai
 
PPTX
Python_Introduction&DataType.pptx
HaythamBarakeh1
 
PPTX
PYTHON PPT.pptx
AbhishekMourya36
 
PPTX
python programming ppt-230111072927-1c7002a5.pptx
pprince22982
 
PPTX
Python-Development (1).pptx PYTHON PROGRAMMING
DrNeetuSharma5
 
PDF
Python for MATLAB Programmers
Michael Patterson
 
PPTX
Summer Training Project On Python Programming
KAUSHAL KUMAR JHA
 
PDF
GE3151_PSPP_UNIT_2_Notes
Guru Nanak Technical Institutions
 
PDF
introduction of python in data science
bhavesh lande
 
PPTX
pengenalan python apa itu python untuk apa.pptx
aftaf3
 
PDF
How To Tame Python
Mohd Anwar Jamal Faiz
 
Introduction_to_Python.pptx
Vinay Chowdary
 
1.Basic_Syntax
Mohamed Essam
 
Python basic syntax
Mohamed Essam
 
Python Course.docx
AdnanAhmad57885
 
Introduction to python lecture (1)
Ali ٍSattar
 
Python Course In Chandigarh
Excellence Academy
 
Artificial Intelligence concepts in a Nutshell
kannanalagu1
 
🐍⚡ “Python Panache: Code Like a Pro, Not a Programmer!”
yashikanigam1
 
Python presentation of Government Engineering College Aurangabad, Bihar
UttamKumar617567
 
Top Most Python Interview Questions.pdf
Datacademy.ai
 
Python_Introduction&DataType.pptx
HaythamBarakeh1
 
PYTHON PPT.pptx
AbhishekMourya36
 
python programming ppt-230111072927-1c7002a5.pptx
pprince22982
 
Python-Development (1).pptx PYTHON PROGRAMMING
DrNeetuSharma5
 
Python for MATLAB Programmers
Michael Patterson
 
Summer Training Project On Python Programming
KAUSHAL KUMAR JHA
 
GE3151_PSPP_UNIT_2_Notes
Guru Nanak Technical Institutions
 
introduction of python in data science
bhavesh lande
 
pengenalan python apa itu python untuk apa.pptx
aftaf3
 
How To Tame Python
Mohd Anwar Jamal Faiz
 

More from NaveenVarma Chintalapati (6)

PPTX
Rubrik -Back up solution for Ransomware recovery Proj.pptx
NaveenVarma Chintalapati
 
PDF
beginners_python_cheat_sheet -python cheat sheet description
NaveenVarma Chintalapati
 
PDF
Daniel-Cocas-presentationWEFWEEFWEFWEFWEF
NaveenVarma Chintalapati
 
PPTX
Office 365 - Attacks and References.pptx
NaveenVarma Chintalapati
 
PPTX
2021-06-16_Attack Lifecycle (1).pptx
NaveenVarma Chintalapati
 
PDF
sift_cheat_sheet.pdf
NaveenVarma Chintalapati
 
Rubrik -Back up solution for Ransomware recovery Proj.pptx
NaveenVarma Chintalapati
 
beginners_python_cheat_sheet -python cheat sheet description
NaveenVarma Chintalapati
 
Daniel-Cocas-presentationWEFWEEFWEFWEFWEF
NaveenVarma Chintalapati
 
Office 365 - Attacks and References.pptx
NaveenVarma Chintalapati
 
2021-06-16_Attack Lifecycle (1).pptx
NaveenVarma Chintalapati
 
sift_cheat_sheet.pdf
NaveenVarma Chintalapati
 
Ad

Recently uploaded (20)

PPTX
Peer Teaching Observations During School Internship
AjayaMohanty7
 
PPTX
2025 Completing the Pre-SET Plan Form.pptx
mansk2
 
PPTX
Comparing Translational and Rotational Motion.pptx
AngeliqueTolentinoDe
 
PPTX
A Case of Identity A Sociological Approach Fix.pptx
Ismail868386
 
PPTX
Elo the Hero is an story about a young boy who became hero.
TeacherEmily1
 
PDF
Romanticism in Love and Sacrifice An Analysis of Oscar Wilde’s The Nightingal...
KaryanaTantri21
 
PPTX
IvĂĄn Bornacelly - Presentation of the report - Empowering the workforce in th...
EduSkills OECD
 
PDF
COM and NET Component Services 1st Edition Juval Löwy
kboqcyuw976
 
PDF
Lesson 1 : Science and the Art of Geography Ecosystem
marvinnbustamante1
 
PPTX
How to use grouped() method in Odoo 18 - Odoo Slides
Celine George
 
PDF
Free eBook ~100 Common English Proverbs (ebook) pdf.pdf
OH TEIK BIN
 
PPT
M&A5 Q1 1 differentiate evolving early Philippine conventional and contempora...
ErlizaRosete
 
PPTX
Tanja Vujicic - PISA for Schools contact Info
EduSkills OECD
 
PPTX
JSON, XML and Data Science introduction.pptx
Ramakrishna Reddy Bijjam
 
PDF
Our Guide to the July 2025 USPSÂź Rate Change
Postal Advocate Inc.
 
PDF
Supply Chain Security A Comprehensive Approach 1st Edition Arthur G. Arway
rxgnika452
 
PPTX
Elo the HeroTHIS IS A STORY ABOUT A BOY WHO SAVED A LITTLE GOAT .pptx
JoyIPanos
 
PPTX
Photo chemistry Power Point Presentation
mprpgcwa2024
 
PDF
Rapid Mathematics Assessment Score sheet for all Grade levels
DessaCletSantos
 
PDF
Learning Styles Inventory for Senior High School Students
Thelma Villaflores
 
Peer Teaching Observations During School Internship
AjayaMohanty7
 
2025 Completing the Pre-SET Plan Form.pptx
mansk2
 
Comparing Translational and Rotational Motion.pptx
AngeliqueTolentinoDe
 
A Case of Identity A Sociological Approach Fix.pptx
Ismail868386
 
Elo the Hero is an story about a young boy who became hero.
TeacherEmily1
 
Romanticism in Love and Sacrifice An Analysis of Oscar Wilde’s The Nightingal...
KaryanaTantri21
 
IvĂĄn Bornacelly - Presentation of the report - Empowering the workforce in th...
EduSkills OECD
 
COM and NET Component Services 1st Edition Juval Löwy
kboqcyuw976
 
Lesson 1 : Science and the Art of Geography Ecosystem
marvinnbustamante1
 
How to use grouped() method in Odoo 18 - Odoo Slides
Celine George
 
Free eBook ~100 Common English Proverbs (ebook) pdf.pdf
OH TEIK BIN
 
M&A5 Q1 1 differentiate evolving early Philippine conventional and contempora...
ErlizaRosete
 
Tanja Vujicic - PISA for Schools contact Info
EduSkills OECD
 
JSON, XML and Data Science introduction.pptx
Ramakrishna Reddy Bijjam
 
Our Guide to the July 2025 USPSÂź Rate Change
Postal Advocate Inc.
 
Supply Chain Security A Comprehensive Approach 1st Edition Arthur G. Arway
rxgnika452
 
Elo the HeroTHIS IS A STORY ABOUT A BOY WHO SAVED A LITTLE GOAT .pptx
JoyIPanos
 
Photo chemistry Power Point Presentation
mprpgcwa2024
 
Rapid Mathematics Assessment Score sheet for all Grade levels
DessaCletSantos
 
Learning Styles Inventory for Senior High School Students
Thelma Villaflores
 
Ad

Introdution to Python Glossary - basics of python

  • 1. Introduction to Python Glossary Created By: Ioana Avram, Teaching Assistant 1. Python language​ -- Python is a programming language that does not use a compiler, but an interpreter. It is also a high level language like Java. It is easy to use and learn and has high readability, efficient code and vast amount of code libraries and functions. Mostly used for web and app development. 2. Data types -- ​The data types of Python are: numbers, strings, lists and tuples. As well as dictionaries. Data types in general are spaces in memory for when you make variables. Each data type can only hold their type of data. For example a String data type only holds strings, not numbers or anything else. Number types only hold numbers, not strings and so on. 3. Modules -- ​A category of a bunch of code, methods, classes etc that are used to do one type of thing. Usually stored in a file and used as an object. It’s like import libraries in Java. You want to use math, you import the math library. You want user input, import the Scanner or JOptionPane libraries, and so on. 4. Scripts -- ​A script is a program that does a number of tasks that you can run in a command line or by running it as an executable. Mostly used in shell scripting (using the bash language) or Python, although it can be used in a variety of languages. 5. Statements​ -- There are 3 statements in programming. If, While/Do while and For. 6. Functions -- ​A function is a group of pieces of code that does one task. 7. Dictionaries -- ​A dictionary is a collection of items that are unordered. 8. Lists​ -- A list data type is something you will only find in Python. It is similar to an array, but a bit more free since arrays in general only allow for 1 type of data while lists allow for multiple types of data and even other lists. 9. If statement​ -- Conditional statement. If a condition is met then do an action. If a condition is not met then either prompt the user for an action or do a different action. 10. While loop -- ​Another statement. The while loop or statement checks for a condition and while that condition is not met, do an action or a number of actions. Brought to you by: Develop your team with the ​fastest growing catalog​ in the cybersecurity industry. Enterprise-grade workforce development management, advanced training features and detailed skill gap and competency analytics. 1
  • 2. 11. For loop -- ​A for loop is used for loop a piece of code or a group of pieces of code. Useful for repetitive lines that need to be done a specific number of times. Instead of doing them all manually you use a for loop to do them for you. 12. Truth tables -- ​In logic a truth table is made of 1s and 0s or the values true and false. It is used in math to find out whether a statement is true or false. 13. Logic gates -- ​There are 3 main logic gates, AND, OR and NOT. From these a variety of other types of gates and calculations can be made. 14. Boolean logic -- ​The logic used in math, to make truth tables with logic gates. Consists of just 2 values, true and false, or 1 and 0 and 3 operators, And, Or and Not. 15. Variables -- ​A variable is a container or box where you store information for use at a later date. For example to add/subtract/whatever other operation you can think of you need 3 variables. 1 for the first argument or number, 1 for the second and 1 to store the result. 16. Classes -- ​A class is a collection of code methods and variables that can be stored in a separate file. It is often used as a template to make objects that can be used by other such classes or parts of a project. 17. Python shell -- ​The python shell is where you can run code instantly like a command line IDE but you can’t make whole programs in it, just run separate lines of code. 18. Compiler -- ​A compiler takes the code that you wrote in whatever environment or program that you used and transforms it into binary data for it to run. A program by itself can’t run unless it’s compiled because a computer can only understand binary. 19. Interpreter -- ​An interpreter takes the code one line at a time. It doesn't translate the whole program into binary. Unlike a compiler who only reports errors after compiling the whole code, an interpreter only translates the code until it finds an error, making debugging easier compared to compiler languages. 20. Def -- ​Used to define a function that is not already present in Python, known as a user defined function. 21. Break -- ​Used in loops and statements to break out of said loop. Mostly used in switch statements, but can be used in other statements. 22. IDLE -- ​IDLE is the Integrated Development Environment that the Python language uses. 23. PEP 8 ​-- A style guide on how to write Python code in a way that it’s easy to read and understand 24. PEP 20 -- ​PEP 20 is called the Zen of Python. They are the guiding principles behind the the Python language and it’s development. Sources: Brought to you by: Develop your team with the ​fastest growing catalog​ in the cybersecurity industry. Enterprise-grade workforce development management, advanced training features and detailed skill gap and competency analytics. 2