On 11/21/22 14:41, Thomas Passin wrote:
On 11/21/2022 1:24 PM, Stefan Ram wrote:
darkst...@o2online.de writes:
import _tkinter

   I don't know why you get this error message. Here, I do not
   get an error message from that line. However, the normal way
   to use tkinter, as far as I know, is without the underscore!

You can import both tkinter and _tkinter, though I'm not sure why you would do the latter for any normal programming.

No, but it's often the advice given when things are not working - see if the underlying tkinter module can be imported, to verify it's actually findable, so not surprised to see someone trying it.

--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to