binaryninja.site.addpackage

addpackage(sitedir, name, known_paths)[source]

Process a .pth file within the site-packages directory: For each line in the file, either combine it with sitedir to a path and add that to known_paths, or execute it if it starts with ‘import ‘.