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. 


[...]


-- 
Cordially,
Noufal
http://nibrahim.net.in
_______________________________________________
BangPypers mailing list
BangPypers@python.org
https://mail.python.org/mailman/listinfo/bangpypers

Reply via email to