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

前端 未结 2 841
情歌与酒
情歌与酒 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 06:58

    In a comment you wrote:

    I'm using an online editor for python as i do not have it downloaded.

    You can't run tkinter via a web server. There is simply nothing you can do to make that work.

提交回复
热议问题