Update Python/Interactive Mode.md

This commit is contained in:
Arctic 2024-11-26 12:41:05 -06:00
parent 0fe2f56ff9
commit ae1d7b4f18

View file

@ -1,6 +1,6 @@
### What is it?
Interactive mode in Python is a mode where the interpreter reads commands directly from a terminal (tty). It is designed for testing and immediate execution of commands. When Python starts in this mode, it displays a welcome message that includes the version number and prompts the user for input. The interactive mode is part of the broader functionality of the Python Interpreter, which is detailed in [[Invoking%20the%20Interpreter]].
Interactive mode in Python is a mode where the interpreter reads commands directly from a terminal (tty). It is designed for testing and immediate execution of commands. When Python starts in this mode, it displays a welcome message that includes the version number and prompts the user for input. The interactive mode is part of the broader functionality of the Python Interpreter, which is detailed in [[Invoking the Interpreter]].
### How to Use It:
#### Starting Interactive Mode
- Start Python in interactive mode by typing `python` or `python3.13` (for Python 3.13) in a terminal.