Did I find the right examples for you? yes no

All Samples(2)  |  Call(0)  |  Derive(0)  |  Import(2)
str(object='') -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.

src/b/l/blogplus-HEAD/main.py   blogplus(Download)
# coding: utf-8
 
from flask import Flask, redirect, render_template, abort, Blueprint
from cache import cached
from config import USER_ID, CLIENT_SECRET, SERVER_ROOT
 
  return render_template(
    'atom.xml', posts=posts, SERVER_ROOT=SERVER_ROOT,
    global_updated=global_updated)
 

src/b/l/blogplus-HEAD/posts.py   blogplus(Download)
from flask import url_for, render_template
from config import SERVER_ROOT
import re
 
def isMeaningfulContent(content):
def processPost(post):
  post['self_url'] = SERVER_ROOT + url_for('.get_post', activity_id=post['id'])
  formAttachments(post)
  extractSubject(post)