make the program title a name python

40

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

# For windows
import os
os.system("title Yet Another Title")

Comments

Submit
0 Comments