PyDocs

Nav

Python Runtime Services

getsitepackages

site

function · Added in 3.2 (source)
  • getsitepackages(prefixes=None)
Returns a list containing all global site-packages directories.

For each directory present in ``prefixes`` (or the global ``PREFIXES``),
this function will find its `site-packages` subdirectory depending on the
system environment, and will return a list of full paths.
Changed in 3.3
  • 3.3: Added the optional prefixes parameter.
0 Examples
No examples for site/getsitepackages.
See Also
No see-alsos for site/getsitepackages
0 Notes
No notes for getsitepackages