I would like to provide a specific graphics window title in turtle graphics, similar to how title KJR
works in cmd.exe
.
I am currently in the process of creating a game, and would like it to display the name, KJR
, rather than turtle graphics
.
Is there a way this can be done?
....
Use the title()
function.
只需使用这个:
turtle.screen.title("Custom title")
使用 title("自定义标题") 函数
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.