call the get_bytes_from_wsgi function with environ, string 'SCRIPT_NAME' and empty strings as arguments, substitute the result for script_name.
script_name = get_bytes_from_wsgi ( environ , 'SCRIPT_NAME' , '' )