+ 2
Wanna know if the play ground code support tkinter
from tkinter import Label,Tk import time app = Tk() app.title("Horloge Digitale") app.geometry("350x200") app.resizable(0,0) #Conception de l'étiquette text_font = ("Boulder", 68, 'bold') backgroud = "#f2e750" foreground = "#363529" border_width = 25 label = Label(app, font = text_font, bg = backgroud, fg = foreground, bd = border_width) label.grid(row = 0, column = 1) #Fonction d'horloge numérique def digital(): time_live = time.strftime("%H:%M:%S") label.config(text = time_live) label.after(200, digital) digital() app.mainloop
6 odpowiedzi
+ 3
The sololearn play ground, like most mobile compilers, do not support GUI
+ 3
Erlénio.RS ,
It's GUI Not GIU 😂
+ 3
There's No Way Tkinter Will Work In Sololearn...
You Need To Use Pydroid Or Windows For Tkinter
+ 3
Sancho Godinho 🤣🤣, I hadn't even noticed, Thanks for listening
0
Ok