I have downloaded and installed ActivePython-2.3.2-232-win32-ix86.msi and am expecting to be able to use tix widgets out of the box.

Could someone please tell me why the below code snippet generates an error?

 

 

C:\>python

ActivePython 2.3.2 Build 232 (ActiveState Corp.) based on

Python 2.3.2 (#49, Nov 13 2003, 10:34:54) [MSC v.1200 32 bit (Intel)] on win32

Type "help", "copyright", "credits" or "license" for more information.

>>> import Tix

>>> from Tkconstants import *

>>> root = Tix.Tk()

Traceback (most recent call last):

  File "<stdin>", line 1, in ?

  File "C:\SWDEV\tools\python\lib\lib-tk\Tix.py", line 210, in __init__

    self.tk.eval('package require Tix')

_tkinter.TclError: can't find package Tix

>>> 






__________________________________

Confidentiality Notice: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain information that is confidential privileged and/or exempt from disclosure under applicable law. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. Thank you.

_______________________________________________
ActivePython mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Other options: http://listserv.ActiveState.com/mailman/listinfo/ActivePython

Reply via email to