[BangPypers] how to override sys.stdin

Nitin Kumar nitin.nitp at gmail.com
Mon Aug 4 11:35:59 CEST 2014


thats a typo error.

in simple term my question would be: How to override sys.stdin.

Nitin K


On Mon, Aug 4, 2014 at 2:44 PM, Dhruv Baldawa <dhruvbaldawa at gmail.com>
wrote:

> On Mon, Aug 4, 2014 at 2:38 PM, Nitin Kumar <nitin.nitp at gmail.com> wrote:
>
> >     def readline(self):
> >         print 'from fn readline',var
> >
>
> Where are you getting 'var' from? Shouldn't the method read as def
> readline(self, var)?
>
>
>
> --
> Dhruv Baldawa
> (http://www.dhruvb.com)
> _______________________________________________
> BangPypers mailing list
> BangPypers at python.org
> https://mail.python.org/mailman/listinfo/bangpypers
>


More information about the BangPypers mailing list