How can I do this with python ?

Xiao Jianfeng fdu.xiaojf at gmail.com
Sun May 7 23:25:44 EDT 2006


Dear all,

In a shell script, I can run a command which need interactive input like 
this,

     #!/bin/sh

     A_Command<<-EOF
     a
     b
     c
     EOF

But, how can I do this with python ?

Thanks in advance.



More information about the Python-list mailing list