#First install win32 do that by typing this in the cmd: pip install win32 import win32console win32console.SetConsoleTitle("You title here!")
import os os.system('title new title')
print("x1b]2;New Titlex07")