[pygtk] unable to find gtk.py file

Augusto Roccasalva coyotevz at gmail.com
Fri Jun 15 00:35:42 WST 2007


On Thu, 14 Jun 2007 07:03:45 -0700 (PDT)
varun_shrivastava <shrivastavavarun en yahoo.co.in> wrote:

> 
> hi
> 
> i checked through all the posts in this forum regarding the same
> and __init.pyc__  exist in my machine
> and all pygtk programs work but i want to look at
> gtk.py file, that i m unable to locate on my machine

~ $ python
Python 2.4.4 (#1, May 15 2007, 08:07:39) 
[GCC 4.1.1 (Gentoo 4.1.1-r3)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import gtk
>>> gtk.__file__
'/usr/lib/python2.4/site-packages/gtk-2.0/gtk/__init__.pyc'
>>> 

See: http://docs.python.org/tut/node8.html#SECTION008400000000000000000

--Augusto


More information about the pygtk mailing list