Hi, One of my scripts returns a module like below. <module 'annotationScript' from '/home/heshan/repo/scripts/annotationScript.py'> What I need to do is to extract the full path of the location of the script as string. i.e. '/home/heshan/repo/scripts/annotationScript.py' . Since I am dynamically loading the script, it's name and full path may vary. Can you suggest me a mechanism to extract the full path from the above data structure. -- Regards, Heshan Suriyaarachchi
http://heshans.blogspot.com/
_______________________________________________ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers