Hi, What I need to do is somehow extract the 4th item of the below data structre. i.e. the full path
<module 'annotationScript' from '/home/heshan/repo/scripts/annotationScript.py'> Hi, > __path__ attribute of module contains the path of file. > >>> import lastfm > >>> lastfm.__path__ > ['c:\\python25\\lib\\site-packages\\lastfm-0.1-py2.5.egg\\lastfm'] > > I hope it helps. > Cheers, > > -- > Abhinav Sarkar > Fair Isaac India > > > -- Regards, Heshan Suriyaarachchi http://heshans.blogspot.com/
_______________________________________________ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers