Re: array tofile to a socket?

2006-08-24 Thread Gabriel Genellina

At Thursday 24/8/2006 14:08, KraftDiner wrote:


Can pythons array.tofile method be used for a TCP/IP Socket?
ie can the socket be a file object?


I've never tried, but usually any object with a write() method works 
fine in these cases.




Gabriel Genellina
Softlab SRL 






__
Preguntá. Respondé. Descubrí.
Todo lo que querías saber, y lo que ni imaginabas,
está en Yahoo! Respuestas (Beta).
¡Probalo ya! 
http://www.yahoo.com.ar/respuestas


-- 
http://mail.python.org/mailman/listinfo/python-list

Re: array tofile to a socket?

2006-08-24 Thread Gabriel Genellina

At Thursday 24/8/2006 14:08, KraftDiner wrote:


Can pythons array.tofile method be used for a TCP/IP Socket?
ie can the socket be a file object?


I've never tried, but usually any object with a write() method works 
fine in these cases.




Gabriel Genellina
Softlab SRL 






__
Preguntá. Respondé. Descubrí.
Todo lo que querías saber, y lo que ni imaginabas,
está en Yahoo! Respuestas (Beta).
¡Probalo ya! 
http://www.yahoo.com.ar/respuestas


-- 
http://mail.python.org/mailman/listinfo/python-list

array tofile to a socket?

2006-08-24 Thread KraftDiner
Can pythons array.tofile method be used for a TCP/IP Socket?
ie can the socket be a file object?

-- 
http://mail.python.org/mailman/listinfo/python-list