[Tkinter-discuss] why from _tkinter import * ? why the underscore
R
rrr at onionmail.info
Mon Jan 1 08:41:00 EST 2018
adil gourinda:
> where have you seen that example?
> ________________________________
> From: Tkinter-discuss <tkinter-discuss-bounces+rikudou__sennin=live.com at python.org> on behalf of R <rrr at onionmail.info>
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. [...] "
More information about the Tkinter-discuss
mailing list