def fs_relpath_from_url_path(url_path):
 url_path = unquote(url_path)
 if ((sys.platform == 'win32') and len(url_path)):
  url_path = url_path.replace('/', '\\')
 return url_path

def fs_relpath_from_url_path ( url_path ) : url_path = unquote ( url_path ) if ( ( sys . platform == 'win32' ) and len ( url_path ) ) : url_path = url_path . replace ( '/' , '\\' ) return url_path
create a filesystem relative path from an url path .