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/p/r/Products.DCWorkflowGraph-0.4.1/Products/DCWorkflowGraph/DCWorkflowGraph_Rank.py   Products.DCWorkflowGraph(Download)
import sys
from os.path import basename, splitext, join
from config import bin_search_path, DOT_EXE
 
 
    f.close()
    outfile = mktemp('.%s' % format)
    os.system('%s -T%s -o %s %s' % (bin_search(DOT_EXE), format, outfile, infile))
    out = open(outfile, 'rb')
    result = out.read()

src/p/r/Products.DCWorkflowGraph-0.4.1/Products/DCWorkflowGraph/DCWorkflowGraph.py   Products.DCWorkflowGraph(Download)
import sys
from os.path import basename, splitext, join
from config import bin_search_path, DOT_EXE
from zope.i18n import translate
 
    if format != 'dot':
        outfile = mktemp('.%s' % format)
        os.system('%s -T%s -o %s %s' % (bin_search(DOT_EXE), format, outfile, infile))
        out = open(outfile, 'rb')
        result = out.read()