Did I find the right examples for you? yes no

All Samples(1)  |  Call(0)  |  Derive(0)  |  Import(1)
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/s/o/sona_framework-HEAD/server/chisel.py   sona_framework(Download)
_STEPS = []
 
from config import SOURCE, DESTINATION, SKIP_PATHS
from render import render_url, path_to
 
def ensure_destination():
    if not os.path.exists(DESTINATION):
        os.makedirs(DESTINATION)
 
 
def write_file(url, data):
    path = DESTINATION + url
    dirs = os.path.dirname(path)
    if not os.path.isdir(dirs):
        os.makedirs(dirs)
def copy_file(url):
    dest_path = DESTINATION + url
    dirs = os.path.dirname(dest_path)
    if not os.path.isdir(dirs):
        os.makedirs(dirs)