pygame vs tkinter.

前端 未结 2 1850
暗喜
暗喜 2021-02-02 17:40

I\'ve been searching the web and reading about GUI development in Python and have read that Tkinter is one of the best GUI toolkits for Python. But I also know that Pygame is a

2条回答
  •  野趣味
    野趣味 (楼主)
    2021-02-02 18:35

    Pygame is normally used to create games though I would recommend using the arcade library instead. Pygame does not help you to create GUIs. instead you should use tkinter which is specifically designed for GUIs. For your project I would recommend using tkinter. Tkinter helps you create labels, buttons and stuff pygame helps you make graphics and stuff

提交回复
热议问题