def getpath(environ):
 return ''.join([quote(environ.get('SCRIPT_NAME', '')), quote(environ.get('PATH_INFO', ''))])

def getpath ( environ ) : return '' . join ( [ quote ( environ . get ( 'SCRIPT_NAME' , '' ) ) , quote ( environ . get ( 'PATH_INFO' , '' ) ) ] )
builds a path .