I want to catch the ctrl+c exception. My program is as following. But when I
run my script and press ctrl+c, the program output nothing. I don't know
where did I go wrong. Please help me. Thank you!
def safe_input(prompting):
try:
return raw_input(prompting);
except
On Mon, Jan 9, 2012 at 7:24 AM, daedae11 daeda...@126.com wrote:
I want to catch the ctrl+c exception. My program is as following. But when
I run my script and press ctrl+c, the program output nothing. I don't
know where did I go wrong. Please help me. Thank you!
def safe_input(prompting):
On 2012/01/09 02:24 PM, daedae11 wrote:
I want to catch the ctrl+c exception. My program is as following.
But when I run my script and press ctrl+c, the program output
nothing. I don't know where did I go wrong. Please help me. Thank you!
def safe_input(prompting):
try:
return