def get_path_of_temp_url(url):
 return '{}/static/{}'.format(app.config['BASE_DIR'], url[len('/serve_static/'):])

def get_path_of_temp_url ( url ) : return '{}/static/{}' . format ( app . config [ 'BASE_DIR' ] , url [ len ( '/serve_static/' ) : ] )
get the absolute path on the filesystem of the temp image url .