Python Interpreter: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - ". ----" to ". ----") |
No edit summary |
||
Line 1: | Line 1: | ||
A [[Python Interpreter]] is a [[dynamic interpreter]] that interprets [[Python code]]. | A [[Python Interpreter]] is a [[dynamic interpreter]] that interprets [[Python code]]. | ||
* <B> | * <B>Context:</B> | ||
** It can (typically) include built-in modules for performing tasks like file I/O, networking, and data manipulation. | |||
** It can (typically) execute [[Python script]]s by interpreting the code line by line at runtime. | |||
** It can be invoked in an interactive mode via the [[Python Shell]]. | |||
** ... | |||
* <B>Example(s):</B> | |||
** [[Python 2.x Interpreter]]s, such as: | |||
** [[Python 3.x Interpreter]]s, such as: | |||
*** [[Python v3.11.5]] (~2023-08-24). | |||
** [[Python MacOS Interpreter]], such as: ... | |||
** [[CPython interpreter]]s, the standard and most widely used implementation of the Python interpreter. | |||
** [[PyPy interpreter]]s, an alternative implementation of Python known for its speed improvements over CPython. | |||
** ... | |||
* <B>Counter-Example(s):</B> | |||
** [[Scala Interpreter]]s. | |||
** [[Perl Interpreter]]s. | |||
* <B>See:</B> [[Python Shell]], [[CPython]], [[PyPy]], [[Jython]] | |||
---- | ---- |
Revision as of 04:09, 26 August 2024
A Python Interpreter is a dynamic interpreter that interprets Python code.
- Context:
- It can (typically) include built-in modules for performing tasks like file I/O, networking, and data manipulation.
- It can (typically) execute Python scripts by interpreting the code line by line at runtime.
- It can be invoked in an interactive mode via the Python Shell.
- ...
- Example(s):
- Python 2.x Interpreters, such as:
- Python 3.x Interpreters, such as:
- Python v3.11.5 (~2023-08-24).
- Python MacOS Interpreter, such as: ...
- CPython interpreters, the standard and most widely used implementation of the Python interpreter.
- PyPy interpreters, an alternative implementation of Python known for its speed improvements over CPython.
- ...
- Counter-Example(s):
- See: Python Shell, CPython, PyPy, Jython
References
2012
- https://docs.python.org/2/tutorial/interpreter.html
- The Python interpreter is usually installed as /usr/local/bin/python on those machines where it is available; putting /usr/local/bin in your Unix shell’s search path makes it possible to start it by typing the command ...