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" <__pete...@web.de> a écrit dans le message de news:mailman.312.1458299016.12893.python-l...@python.org... ast wrote: ok, thx -- https://mail.python.org/mailman/listinfo/python-list