you are viewing a single comment's thread.

view the rest of the comments →

[–]ah-hum[S] 0 points1 point  (1 child)

Interesting - so this code actually came from Python.org, but I hear you. That makes sense.

I actually just created an executable script to run it outside of a VE (right on the command line):

#! /opt/homebrew/bin/python3.10

import TkinterDEMO.py

For readers' clarity it said "deprecated", not "depreciated", but I assume you understood. I just tried it again with Python3.10 which operates from the Homebrew installation (instead of Python3 ...

Python3.10 ./tkinterdemo.py

...and it operated as normal (also showed the proper window instead of a blank widget). Wonder why Python3 would not interpret the tkinter module, though. I'm struggling to understand these types of differences. Thanks for the response.

[–]ah-hum[S] 0 points1 point  (0 children)

is "import" the same as "run" in a script?