Re: why from _tkinter import * ? why the underscore

R <[email protected]> Mon, 01 Jan 2018 13:41:00 +0000
Newsgroups gmane.comp.python.tkinter
Message-ID <[email protected]>
adil gourinda:
> where have you seen that example?
> ________________________________
> From: Tkinter-discuss <[email protected]> on behalf of R <[email protected]>


A valid question. It straight from the main wiki :   https://wiki.python.org/moin/TkInter  ,
the head honcho of authoritative web sources.



"Checking your Tkinter support

A good way to systematically check whether your Tkinter support is working is the following.

Enter an interactive Python interpreter in a shell on an X console.

Step 1 - can _tkinter be imported?

Try the following command at the Python prompt:

>>> import _tkinter # with underscore, and lowercase 't'

    If it works, go to step 2.     [...] "