[BangPypers] how to override sys.stdin

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

On Mon, Aug 04 2014, Nitin Kumar wrote:

> Hi All,
> is there a way i can override raw_input or input function.

Create a function like

def my_input(prompt):
    # Your code here

and then assign it to raw_input

raw_input = my_input. 



More information about the BangPypers mailing list