set title of console window python code example
Example 1: set windows title in python
import ctypes
ctypes.windll.kernel32.SetConsoleTitleW("My New Title")
Example 2: python how to change command prompt title
from os import system
system("title " + "Insert the title here")