def _load_library(self):
path = self._library_path()<EOL>logger.info("<STR_LIT>".format(path))<EOL>library_dir = os.path.dirname(path)<EOL>if platform.system() == '<STR_LIT>':<EOL><INDENT>import win32api<EOL>olddir = os.getcwd()<EOL>os.chdir(library_dir)<EOL>win32api.SetDllDirectory('<STR_LIT:.>')<EOL><DEDENT>result = cdll.LoadLibrary(path)<EOL>if platform.system() == '<STR_LIT>':<EOL><INDENT>os.chdir(olddir)<EOL><DEDENT>return result<EOL>
Return the fortran library, loaded with