How do I define root for tkinter in Python 3? I'm using an online Python editor

前端 未结 2 839
情歌与酒
情歌与酒 2020-12-07 06:23

I am trying to make a label, but I can\'t define the root variable! Please help me!

Update: I am using an online Python editor called repl.it

2条回答
  •  佛祖请我去吃肉
    2020-12-07 07:10

    Repl.it doesn't currently support tkinter but it supports a GUI library called REMI. You can see an example here: https://repl.it/@amasad/tictactoe

提交回复
热议问题