[Tutor] GUI component (fwd)

Michael Lange klappnase at freenet.de
Fri Apr 30 19:38:05 EDT 2004

> ---------- Forwarded message ----------
> Date: Fri, 30 Apr 2004 03:26:40 -0700 (PDT)
> From: bintang kurniawan <bintangkurniawan at yahoo.com>
> To: Danny Yoo <dyoo at hkn.eecs.berkeley.edu>
> Subject: Re: [Tutor] GUI component
> thank you for your guide,
> i have the file but icant install (load) it to my python
> please give advise
> thanks,
> rgds,
> bintang

Hi Bintang,

I am not sure if I understand your problem correctly, does the installation of Pmw
fail or is it installed and does not work?

If it is the installation I think you just need to unzip the archive and copy the Pmw
folder to your site-packages directory ( something like c:\python2.3\site-packages on windows
or /usr/lib/python2.3/site-packages on linux/unix systems ).
After that you can try at the python prompt:

>>> import Pmw
>>> root = Pmw.initialise()

If this works and an empty window pops up everything is fine and you are ready to use the Pmw widgets.

I hope this helps


More information about the Tutor mailing list