update label variable in python tkinter

前端 未结 0 634
南笙
南笙 2021-01-17 02:57
from tkinter import *
import tkinter as tk
import random

f = 0

def test_print():
    f = random.randint(0,118)
    master.update_idletasks()

# creating Tk window
         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题