#For mac or linux import sys sys.stdout.write("\x1b]2;Another Title\x07") # For windows import os os.system("title Yet Another Title")