B
B
Bogdan2020-11-24 22:06:31
Python
Bogdan, 2020-11-24 22:06:31

How to change title of Python console window?

How to change title of Python console window? Or what module is used for this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
lz961, 2020-12-03
@Bogdikon

import ctypes
ctypes.windll.kernel32.SetConsoleTitleA(b"you have to use bytes instead str here")

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question