from pyscript import display
from pyscript import display, HTML
from datetime import datetime
import asyncio
async def tick():
while True:
Element("clock").write(datetime.now().strftime("%Y-%m-%d %A | %p %H:%M:%S | KW %W"))
await asyncio.sleep(1)
asyncio.ensure_future(tick())
IT-Services Klaus Gote
www: itskg.de
e-Mail: info@itskg.de
fon: +49 7522 7075542