def UnregisterNamedPath(name):
 keyStr = ((BuildDefaultPythonKey() + '\\PythonPath\\') + name)
 try:
  win32api.RegDeleteKey(GetRootKey(), keyStr)
 except win32api.error as (code, fn, details):
  import winerror
  if (code != winerror.ERROR_FILE_NOT_FOUND):
   raise win32api.error, (code, fn, desc)
  return

def UnregisterNamedPath ( name ) : keyStr = ( ( BuildDefaultPythonKey ( ) + '\\PythonPath\\' ) + name ) try : win32api . RegDeleteKey ( GetRootKey ( ) , keyStr ) except win32api . error as ( code , fn , details ) : import winerror if ( code != winerror . ERROR_FILE_NOT_FOUND ) : raise win32api . error , ( code , fn , desc ) return
unregister a named path - ie .