The tkinter tutorial at tkdocs (http://www.tkdocs.com/tutorial/firstexample.html) shows these two lines at the beginning of every example.
from tkinter import * from tkinter import ttk
Doesn't the first line import everything in the tkinter module? if so, why bother writing the second line?
EDIT: Just found an answer (kind of ) on the same page.
So I guess the real question would be "what's the difference between
import tkinter *
Edited 7 Years Ago by mahela007: n/a