def ask(self, subject='perform this action', careful=False):
        sample = '(y/N)'
        if not careful:
            sample = '(Y/n)'

        prompt = 'You really want to %s %s? ' % (subject, sample)
        try:
            answer = input(prompt).lower()
            if careful:
                return answer in ('yes', 'y')
            else:
                return answer not in ('no', 'n')
        except EOFError:
            print(file=sys.stderr)  # Put Newline since Enter was never pressed
            # TODO:
            #   Figure out why on OS X the raw_input keeps raising
            #   EOFError and is never able to reset and get more input
            #   Hint: Look at how IPython implements their console
            default = True
            if careful:
                default = False
            return default
Requests from the user using `raw_input` if `subject` should be
dataset/ETHPy150Open sixohsix/twitter/twitter/cmdline.py/Action.ask