Did I find the right examples for you? yes no      Crawl my project      Python Jobs

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/i/w/iw.memberreplace-1.0.0-RC1/iw/memberreplace/utils.py   iw.memberreplace(Download)
from zope.i18nmessageid import MessageFactory
 
from iw.memberreplace.config import PRODUCTNAME, I18N_DOMAIN
 
logger = getLogger(PRODUCTNAME)

src/i/w/iw.memberreplace-1.0.0-RC1/iw/memberreplace/tests/base.py   iw.memberreplace(Download)
from Products.PloneTestCase.layer import onsetup
import iw.memberreplace
from iw.memberreplace.config import PRODUCTNAME
 
 
def setUpmemberreplace():
    fiveconfigure.debug_mode = True
    zcml.load_config('configure.zcml', iw.memberreplace)
    fiveconfigure.debug_mode = False
    ZopeTestCase.installPackage(PRODUCTNAME)
 
PloneTestCase.setupPloneSite(
    products=[PRODUCTNAME],
    extension_profiles=['%s:default' % PRODUCTNAME])