nevermind, i should access it by
HORIZONTAL
not
Tkinter.HORIZONTAL
since I imported everything from Tkinter already. Thanks anyway
--
http://mail.python.org/mailman/listinfo/python-list
codecraig wrote:
from Tkinter import *
you have access to the constants in Tkconstants, since Tkinter imports
it automatically.
Yes
However, in the shell if I do..
from Tkinter import *
print Tkinter.HORIZONTAL
I get an error..NameError: Tkinter is not defined
Sure, you ask for Tkinter.HORIZONTAL.
Hi,
I was reading through the Tkinter tutorial at
http://www.pythonware.com/library/tkinter/introduction/index.htm ...and
it mentions that by doing,
from Tkinter import *
you have access to the constants in Tkconstants, since Tkinter imports
it automatically.
However, in the shell if I do..
f