3 from pathlib 
import Path
 
    7     pinocchio_paths = os.getenv(
"PINOCCHIO_WINDOWS_DLL_PATH")
 
    8     if pinocchio_paths 
is None:
 
   10         RELATIVE_DLL_PATH = 
"..\\..\\..\\bin" 
   11         return [Path(__file__).parent / RELATIVE_DLL_PATH]
 
   13         return pinocchio_paths.split(os.pathsep)
 
   17     """Restore PATH state after importing Python module""" 
   20         os.environ[
"PATH"] += os.pathsep + dll_dir
 
   31     """Restore DllDirectory state after importing Python module"""