Python experts , please tell me about stdin

Richard Chamberlain richard_chamberlain at ntlworld.com
Sun Aug 27 01:56:58 EDT 2000


Hello Sreekant,

You may want to look up 'upload' at the vaults of parnassus.
(www.vex.net/parnassus) That will give you a number of files to look at
we do exactly what you're trying to do.

I suggest borrowing would be a good idea. ;-)

Richard


Sindh wrote:
> 
> 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