def interactive_mode(self, tpl):
        tplvars = tpl.get_template_vars()
        d = {}

        for v in tplvars:
            try:
                s = raw_input("%s: " % v)
            except KeyboardInterrupt:
                print('Quitting interactive mode: You have pressed Ctrl + c')
                sys.exit(1)

            d[v] = s

        return d
dataset/ETHPy150Open verbosemode/confplate/confplate/confplate.py/Cli.interactive_mode/original