def normalize_path_for_engine(path):
 (drive, tail) = splitdrive(path)
 if drive:
  path = ((u'/' + drive.lower().rstrip(u':')) + tail)
 return path.replace(u'\\', u'/')

def normalize_path_for_engine ( path ) : ( drive , tail ) = splitdrive ( path ) if drive : path = ( ( u'/' + drive . lower ( ) . rstrip ( u':' ) ) + tail ) return path . replace ( u'\\' , u'/' )
windows paths .