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/f/t/ftw.lawgiver-1.2.2/ftw/lawgiver/generator.py   ftw.lawgiver(Download)
from ftw.lawgiver.interfaces import IActionGroupRegistry
from ftw.lawgiver.interfaces import IPermissionCollector
from ftw.lawgiver.interfaces import IWorkflowGenerator
from ftw.lawgiver.variables import VARIABLES
from lxml import etree
    def _add_variables(self, doc):
        # The variables are static - we use always the same.
        for node in html.fragments_fromstring(VARIABLES):

src/f/t/ftw.lawgiver-1.2.2/ftw/lawgiver/tests/workflowxml.py   ftw.lawgiver(Download)
from ftw.lawgiver.variables import VARIABLES
STANDALONE_end = '/>'
'''.replace('%---VARIABLES---%', VARIABLES)
STATUS_start = '\n<state state_id="%(id)s" title="%(title)s"'