telnet
This is an easy to use telnet module to interact with a remote system smoothly over this protocol!
Install :
pip install telnetlib2
or
pip3 install telnet
Usage :
import telnetlib2 t=telnetlib.telnet() ip='192.168.0.32'#just an example t.login(ip, username='root',password='toor',p=23,timeout=5) output1=t.execute('echo ala_is_king') print(output1) output2=t.execute('cd / && ls') print(output2) t.close()
Release files for telnetlib2 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| telnetlib2-1.1.0.tar.gz | 2.3 kB | Details |
Release files / telnetlib2-1.1.0.tar.gz
| Download URL | telnetlib2-1.1.0.tar.gz |
|---|---|
| Size | 2.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f8bbd7bf8a45b4690f3b6b3e7f88664eaec3b0740dae6217cd2062414ce1026d
|
|
BLAKE2b-256 checksum How to use checksums |
6f474e7b7a7a5b3414fbf8c1ccafa862702ef7987fa1550864858d2c9dbc147f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/2.7.17
|