import os os.system('TITLE Your title here') # Note, this will work with any Windows cmd command # (Assuming you're using this on a Windows computer)