binaryninja.site.getsitepackages

getsitepackages(prefixes=None)[source]

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.