Re: submodules

2016-03-19 Thread Peter Otten
ast wrote: > Hello > > Since in python3 ttk is a submodule of tkinter, I was expecting this > to work: > > from tkinter import * > > root = Tk() > nb = ttk.Notebook(root) > > but it doesnt, ttk is not known. > > I have to explicitely import ttk with > > from tkinter import ttk > > why ? If

Re: submodules

2016-03-18 Thread ast
"Peter Otten" <[email protected]> a écrit dans le message de news:[email protected]... ast wrote: ok, thx -- https://mail.python.org/mailman/listinfo/python-list