Nonblocking IO on popen pipe (isn't nonblocking)

Fredrik Lundh fredrik at pythonware.com
Thu Apr 11 16:05:31 EDT 2002


"Noah" wrote:
> I could have sworn that I have seen interactive programs
> such as telnet and ftp scripted from Python.
>
> I looked at the pty stuff, but I was going to implement that
> AFTER I got pipes working. Pipes seem to be the most portable
> and intuitive way to solve this problem.

I'd say the most portable way is to forget about running external
commands, and use ftplib and telnetlib instead.

</F>





More information about the Python-list mailing list