Closed e3rd closed 8 years ago
sourceParser structered something like:
def print_info(): "delimiter, header, ru (100), cn (200) " def is_yes(user_input): return user_input.lower in ("y","yes")
for fn in [determineIp, questions...]: print_info() fn() s = input() if s == "x": cancel else fn(input = s)
def determineIp(input = None): if not input: "whats the ip"; else: store input
sourceParser structered something like:
def print_info(): "delimiter, header, ru (100), cn (200) " def is_yes(user_input): return user_input.lower in ("y","yes")
for fn in [determineIp, questions...]: print_info() fn() s = input() if s == "x": cancel else fn(input = s)
def determineIp(input = None): if not input: "whats the ip"; else: store input