Copyright (c) Hyperion Entertainment and contributors.
Difference between revisions of "AmigaOS Manual: Python Glossary"
Jump to navigation
Jump to search
(Added lambda definition) |
m |
||
(3 intermediate revisions by the same user not shown) | |||
Line 8: | Line 8: | ||
; {{anchor|bytecode}}bytecode |
; {{anchor|bytecode}}bytecode |
||
− | : Bytecode is a compiled format of a Python program. When a [[AmigaOS_Manual:_Python_Glossary#.py|Python program]] is executed, it is first assembled into bytecode which is then executed by the Python interpreter (also known as |
+ | : Bytecode is a compiled format of a Python program. When a [[AmigaOS_Manual:_Python_Glossary#.py|Python program]] is executed, it is first assembled into bytecode which is then executed by the Python interpreter (also known as the Python virtual machine). Python bytecode files have the .pyc extension. |
; class |
; class |
||
Line 47: | Line 47: | ||
; lambda |
; lambda |
||
− | : A function |
+ | : A function that has no name. |
; list |
; list |
||
− | : One of |
+ | : One of Python's data types. Lists are used for storing multiple values in a single variable. |
; metaclass |
; metaclass |
Latest revision as of 20:47, 12 February 2021
This glossary provides definitions of terms used in the Python manual.
- .py file
- A Python source file that contains a human readable Python program.
- .pyc file
- A compiled Python source file that contains Python bytecode. .pyc files are created automatically by Python. See bytecode.
- bytecode
- Bytecode is a compiled format of a Python program. When a Python program is executed, it is first assembled into bytecode which is then executed by the Python interpreter (also known as the Python virtual machine). Python bytecode files have the .pyc extension.
- class
- A template for creating user-defined objects.
- class variable
- A variable defined in a class and intended to be modified only at class level.
- coercion
- coroutine
- coroutine function
- decorator
- descriptor
- dictionary
- function
- function object
- garbage collection
- generator
- generator iterator
- immutable
- import path
- importing
- importer
- lambda
- A function that has no name.
- list
- One of Python's data types. Lists are used for storing multiple values in a single variable.
- metaclass
- method
- module
- namespace
- object
- package
- regular package
- set
- slice
- tuple
- virtual machine