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/p/r/prdg.ploneio-0.0.2/prdg/ploneio/export.py   prdg.ploneio(Download)
from Products.CMFCore.utils import getToolByName
from StringIO import StringIO
from config import PICKLE_FILE_NAME, PICKLE_MIME_TYPE, DICT_REPR_FILE_NAME
from pprint import pprint
from prdg.plone.util.structure import create_dict_for_all_objs
 
    export_context.writeDataFile(
        DICT_REPR_FILE_NAME, 
        out.getvalue(), 
        'text/plain'