Reading from the serial port?

Gabriel Ambuehl gabriel_ambuehl at buz.ch
Sat Sep 29 11:09:54 EDT 2001


-----BEGIN PGP SIGNED MESSAGE-----

Hello Luis,

Saturday, September 29, 2001, 3:08:25 PM, you wrote:


> My inquire comes because a few days ago i was checking a router via
> the console interface and i thought to write some dumb python
> aplication to send the commands and read the answer. In order to do
> that i need to be able to open the serial port and cant find any
> info around. Please Help


You could open /dev/[whateverdevicethereisonyourbox] for r/w..


Best regards,
 Gabriel

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5i

iQEVAwUBO7XWNsZa2WpymlDxAQGWSQgAu8zJ4PU01gcR6NSeeWY9yOeJgABfC2uZ
jK2LA7FDlAfn8T2dy5woxnMAsEZfYjH13sZmbglo8+iZN9jfB6WZi71zUGwZ5PiA
/UM9yz7kIbUQ+9FvCdTMJPcIn3E1EJN8VdXVzP9ePv4MNnSfAogbrTwUgWG4R4jz
xt4xgICWaTRMuyq0sQ2J/HeYcI29kBqMWEYovxDR/hDfkmWxwO7ig+QdptyjWeqW
LbLEs4aRXdKpuTAgjAm7R5KTp0gRyzcAyJC10xRnulN6sSZjt8Q1lJMVFeyepnY8
ABSmgte+XTki2CgcljYq1mweA4g1eikw++T5rooxu3KoBrNUnpdY6A==
=xw/R
-----END PGP SIGNATURE-----





More information about the Python-list mailing list