def save_to_store(content, name, mime_type, location):
 content_location = Transcript.asset_location(location, name)
 content = StaticContent(content_location, name, mime_type, content)
 contentstore().save(content)
 return content_location

def save_to_store ( content , name , mime_type , location ) : content_location = Transcript . asset_location ( location , name ) content = StaticContent ( content_location , name , mime_type , content ) contentstore ( ) . save ( content ) return content_location
save named content to store by location .