site.here on python 2.4

2005-01-13 Thread ariza
greetings. it seems that the attribute site.here, of the site module, has vanished in python 2.4. up until python 2.3, site.here seemed (to me at least) a convenient way to get the complete path to the python library on any platform: >>> import site >>> site.here '/System/Library/Frameworks/Pytho

Re: site.here on python 2.4

2005-01-13 Thread ariza
i am not sure where i found site.here documented as used prior to 2.4. the issue is that i do not need sys.path, as in the list of all paths that python searches. sys.prefix is close to what i need: >>> sys.prefix '/System/Library/Frameworks/Python.framework/Versions/2.3' but the old site.here