Show More
@@ -11,7 +11,7 b' the terminal. It does something like this::' | |||||
11 | code = input(">>> ") |
|
11 | code = input(">>> ") | |
12 | exec(code) |
|
12 | exec(code) | |
13 |
|
13 | |||
14 |
Of course, it's much more compl |
|
14 | Of course, it's much more complex, because it has to deal with multi-line | |
15 | code, tab completion using :mod:`readline`, magic commands, and so on. But the |
|
15 | code, tab completion using :mod:`readline`, magic commands, and so on. But the | |
16 | model is like that: prompt the user for some code, and when they've entered it, |
|
16 | model is like that: prompt the user for some code, and when they've entered it, | |
17 | exec it in the same process. This model is often called a REPL, or |
|
17 | exec it in the same process. This model is often called a REPL, or |
General Comments 0
You need to be logged in to leave comments.
Login now