Sending Unix commands over Socket

David Rushforth david at vdr.to
Fri May 30 09:53:03 EDT 2003


Hi

I am new to python

I am trying to setup a socket connection from a windows machine to a linux box. I wish to send linux commands over the socket, and receive the information/output to display in a tkinter object.
The question is ... can I use os.popen to do this? and if so how exactly. socket.send only accepts a string.

thanks in advance
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20030530/e053033f/attachment.html>


More information about the Python-list mailing list