Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: ram@zedat.fu-berlin.de (Stefan Ram) Newsgroups: alt.folklore.computers Subject: Re: A Modern "Hello World" Date: 5 Dec 2025 16:20:40 GMT Organization: Stefan Ram Lines: 25 Expires: 1 Jun 2026 11:59:58 GMT Message-ID: References: <20251205080823.00005977@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: news.uni-berlin.de v22oEenNtFHgkGXljfIybw/NyUqq9Onn0BYgnYsRU6sWJa Cancel-Lock: sha1:XXljjBZjt4g+6+Qe0r5ESZ7Gt0o= sha256:Ayjaqf+1V9me+BPrOSw7CkiFnJ+06Bw/Wl9b7jDZc3U= X-Copyright: (C) Copyright 2025 Stefan Ram. All rights reserved. Distribution through any means other than regular usenet channels is forbidden. It is forbidden to publish this article in the Web, to change URIs of this article into links, and to transfer the body without this notice, but quotations of parts in other Usenet posts are allowed. X-No-Archive: Yes Archive: no X-No-Archive-Readme: "X-No-Archive" is set, because this prevents some services to mirror the article in the web. But the article may be kept on a Usenet archive server with only NNTP access. X-No-Html: yes Content-Language: en Xref: csiph.com alt.folklore.computers:232378 John Ames wrote or quoted: >Java, and to a lesser extent Python. Which is not necessarily a bad . . . >Sadly, no (although there are attempts to revive it; would-be spiritual Well, one can, kind of, translate my HTML code to Python: import tkinter as tk from time import strftime root = tk.Tk() root.title("Clock") clock = tk.Label(root, font=("Sans", 22, "bold"), bg="#eef", bd=3, relief="solid") clock.pack(padx=12, pady=12) def update(): clock.config(text=strftime("%H:%M:%S")) root.after(100, update) update() root.mainloop() .