Glossary
Every key term from the course, in one searchable place β use the search bar above to jump straight to a definition.
A
- API β related lesson
- A defined way for one piece of software to talk to another β for example, requesting data from a website's server.
- Argument β related lesson
- The actual value you pass into a function when calling it, e.g. the 5 in add(5, 3).
- Attribute β related lesson
- A piece of data stored on an object, accessed with dot notation, e.g. dog.name.
B
- Boolean β related lesson
- A value that is either True or False.
C
- Class β related lesson
- A blueprint for creating objects, defining their attributes and methods.
- Comprehension β related lesson
- A compact syntax for building a new list, dict, or set from an existing iterable in one line.
- CRUD β related lesson
- Shorthand for the four basic database operations: Create, Read, Update, Delete.
D
- Decorator β related lesson
- A function that wraps another function to add behavior, applied with @decorator syntax.
- Dictionary β related lesson
- An unordered collection of key β value pairs, looked up by key.
E
- Exception β related lesson
- An error condition raised during execution that can be caught and handled with try/except.
F
- Function β related lesson
- A named, reusable block of code that can accept inputs and return an output.
G
- Generator β related lesson
- A function using yield that produces values one at a time, on demand, instead of all at once.
I
- Immutable β related lesson
- Describes a value that cannot be changed after creation, like a string or tuple.
- Inheritance β related lesson
- A mechanism where a class (subclass) reuses and extends the attributes/methods of another class (superclass).
- Integer β related lesson
- A whole number, positive or negative, with no decimal point.
- Iterable β related lesson
- Any object you can loop over with a for loop β lists, strings, dictionaries, generators, and more.
- Iterator β related lesson
- An object that produces the next value in a sequence each time next() is called on it.
L
- List β related lesson
- An ordered, changeable (mutable) collection of values.
M
- Method β related lesson
- A function defined inside a class, called on an object using dot notation, e.g. my_list.append(3).
- Module β related lesson
- A single .py file containing Python code that can be imported and reused elsewhere.
- Mutable β related lesson
- Describes a value that can be changed after creation, like a list or dictionary.
P
- Package β related lesson
- A folder of related modules, usually containing an __init__.py file.
- Parameter β related lesson
- The named placeholder in a function's definition that will receive an argument, e.g. name in def greet(name).
- Polymorphism β related lesson
- The ability for different classes to respond to the same method call in their own way.
R
- Recursion β related lesson
- A function that calls itself, usually with a smaller input, until it reaches a base case.
S
- Scope β related lesson
- The region of code where a particular variable name is visible and usable β local vs. global.
- Set β related lesson
- An unordered collection of unique, unindexed values.
- String β related lesson
- A sequence of characters representing text, written in quotes.
T
- Tuple β related lesson
- An ordered, unchangeable (immutable) collection of values.
V
- Variable β related lesson
- A name that points to a value stored in memory.