[Pythonmac-SIG] Tkinter, first time

Martin McGowan mcgowan at alum.mit.edu
Sun Jun 29 23:55:52 EDT 2003


pythonmac-sig,


  I'm just cracking open python, reading Mike Lutz Programming Python,
2nd edition, and would like to use Tkinter.

  What should I be doing here?
  Do
	
bash-2.05a$ python
Python 2.2 (#1, 07/14/02, 23:25:09)
[GCC Apple cpp-precomp 6.14] on darwin
Type "help", "copyright", "credits" or "license" for more information.
 >>> import Tkinter
Traceback (most recent call last):
   File "<stdin>", line 1, in ?
   File "/usr/lib/python2.2/lib-tk/Tkinter.py", line 35, in ?
     import _tkinter # If this fails your Python may not be configured 
for Tk
ImportError: No module named _tkinter
 >>>


The download page suggest I should have a fully working copy on my
Mac OS X?

  http://www.python.org/topics/tkinter/download.html


Thanks,

  -- Marty McGowan III




More information about the Pythonmac-SIG mailing list