def fixclasspath():
 paths = []
 classpaths = []
 for path in sys.path:
  if ((path == '__classpath__') or path.startswith('__pyclasspath__')):
   classpaths.append(path)
  else:
   paths.append(path)
 sys.path = paths
 sys.path.extend(classpaths)

def fixclasspath ( ) : paths = [ ] classpaths = [ ] for path in sys . path : if ( ( path == '__classpath__' ) or path . startswith ( '__pyclasspath__' ) ) : classpaths . append ( path ) else : paths . append ( path ) sys . path = paths sys . path . extend ( classpaths )
adjust the special classpath sys .