Python experts , please tell me about stdin

Sindh skodela at my-deja.com
Fri Aug 25 23:56:06 EDT 2000


Hi folks

 I am using oython for my cgi dev. I wrote a page with a few file upload
buttons. When I try to submit files , the cgi script
 reads the files ok as long as they are not binary. If they are binary
it waits for ever. Somewhere, on thin news group I read
 that I have to change stdin to bainary mode but the python
documentation does not give any clues.

 So how do yuo set stdin to binary.

 Your help would be appreciated.

 Thanks
 sreekant
--
A man needs to sleep for 36 hours a day atleast.


Sent via Deja.com http://www.deja.com/
Before you buy.



More information about the Python-list mailing list