# if you are on windows: import os os.system("title " + "YourNewTitle") #else: import ctypes kernel32 = ctypes.WinDLL('kernel32', use_last_error=True) kernel32.SetConsoleTitleW(u"YourNewTitle")