def get_system_path():
 _bpath = []
 try:
  import win32api
  sys_dir = win32api.GetSystemDirectory()
 except ImportError:
  sys_dir = os.path.normpath(os.path.join(get_windows_dir(), 'system32'))
 _bpath = [sys_dir, get_windows_dir()]
 _bpath.extend(compat.getenv('PATH', '').split(os.pathsep))
 return _bpath

def get_system_path ( ) : _bpath = [ ] try : import win32api sys_dir = win32api . GetSystemDirectory ( ) except ImportError : sys_dir = os . path . normpath ( os . path . join ( get_windows_dir ( ) , 'system32' ) ) _bpath = [ sys_dir , get_windows_dir ( ) ] _bpath . extend ( compat . getenv ( 'PATH' , '' ) . split ( os . pathsep ) ) return _bpath
return the path that windows will search for dlls .