Fwd: newbie question regarding int(input(:)) - sorry for the spam

2008-01-11 Thread Craig Ward
have a second input and I can't put the int(input(":") in the function because I get the error 'int' is not callable plus my choice variable is not defined. can someone please enlighten me? :-) -- Forwarded message -- From: Craig Ward <[EMAIL PROTEC

newbie question regarding int(input(:))

2008-01-11 Thread Craig Ward
Hi experts! I am trying to write a menu script that will execute bash scripts. Everything is fine until the script executes and I want to see if there are any more options to run before quitting. Example: def menu(opt1 = "something", opt2 = "something else"): -- Computers are like air condition