How to use pty.py?

iwk iwk_nospam at xs4all_nospam.nl
Tue Dec 11 15:32:49 CET 2001


Hi there,

I need to pass input to a program at a customers' site which bypasses 
stin/out and reads/writes to/from a terminal, just like ssh when it asks 
for a password. So I cannot pipe the data to the program. To the best of 
my knowledge I should be able to use pty.py to start the program and 
provide it with the required input. But how? Does anyone have some examples?

Thanks & regards,

Iwan




More information about the Python-list mailing list