def _set_term_title(title):
            global ignore_termtitle

            try:
                # Cannot be on network share when issuing system commands
                curr = os.getcwd()
                os.chdir("C:")
                ret = os.system("title " + title)
            finally:
                os.chdir(curr)
            if ret:
                # non-zero return code signals error, don't try again
                ignore_termtitle = True
Set terminal title using the 'title' command.
dataset/ETHPy150Open ipython/ipython-py3k/IPython/utils/terminal.py/_set_term_title