xxxxxxxxxx
import urllib
fun open():
return urllib.urlopen('http://example.com')
xxxxxxxxxx
from tkinter import*
from tkinter.ttk import*
from time import strftime
root = Tk()
root.title("clock")
root.geometry("359x150+0+0")
root.configure(background="black")
root.resizable(0,0)
root.overrideredirect(1)
def start():
text = strftime('%H:%M:%S')
label.config(text=text)
label.after(200,start)
label = Label(root,font=("ds-digital",50,'bold'),background ="black",foreground = "red")
label.grid(row=0,column=1)
start()
print("done")
root.mainloop()
xxxxxxxxxx
from tkinter import*
from tkinter.ttk import*
from time import strftime
root = Tk()
root.title("clock")
root.geometry("359x150+0+0")
root.configure(background="black")
root.resizable(0,0)
root.overrideredirect(1)
def start():
text = strftime('%H:%M:%S')
label.config(text=text)
label.after(200,start)
label = Label(root,font=("ds-digital",50,'bold'),background ="black",foreground = "red")
label.grid(row=0,column=1)
start()
print("done")
root.mainloop()