[BangPypers] how to override sys.stdin

Noufal Ibrahim KV noufal at nibrahim.net.in
Mon Aug 4 11:38:01 CEST 2014


On Mon, Aug 04 2014, Nitin Kumar wrote:

> thats a typo error.
>
> in simple term my question would be: How to override sys.stdin.

[...]

The StringIO module gives you file like objects into which you can put
data. They might work as substitues for sys.std*

-- 
Cordially,
Noufal
http://nibrahim.net.in


More information about the BangPypers mailing list