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/Python.framework/Versions/2.3/lib/python2.3' i do not see any information about this change save that in the new documentation it says: """ This module is automatically imported during initialization. The automatic import can be suppressed using the interpreter's -S option. Importing this module will append site-specific paths to the module search path. """ can anyone propose a similarly effective and cross-platform solution for easily discovering the the library path on any python installation? -- http://mail.python.org/mailman/listinfo/python-list