Did I find the right examples for you? yes no

All Samples(4)  |  Call(0)  |  Derive(0)  |  Import(4)
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/c/r/crawley-dev-0.2.4/crawley/web_browser/browser.py   crawley-dev(Download)
from PyQt4 import QtCore, QtWebKit, QtGui
from baseBrowser import BaseBrowser, BaseBrowserTab, FrmBaseConfig, FrmBaseSettings
from config import DEFAULTS, SELECTED_CLASS
 
from crawley.crawlers.offline import OffLineCrawler
        with open(get_full_template_path("html_template"), "r") as f:
            template = f.read()
            html = template % {'content': html, 'css_class': SELECTED_CLASS }
 
        if selected_nodes is not None:
 
                classes = tag.attrib.get("class", "")
                classes = "%s %s" % (classes, SELECTED_CLASS)
                tag.attrib["class"] = classes.strip()
                tag.attrib["id"] = xpath

src/c/r/crawley-HEAD/crawley/web_browser/browser.py   crawley(Download)
from PyQt4 import QtCore, QtWebKit, QtGui
from baseBrowser import BaseBrowser, BaseBrowserTab, FrmBaseConfig, FrmBaseSettings
from config import DEFAULTS, SELECTED_CLASS
 
from crawley.crawlers.offline import OffLineCrawler
        with open(get_full_template_path("html_template"), "r") as f:
            template = f.read()
            html = template % {'content': html, 'css_class': SELECTED_CLASS }
 
        if selected_nodes is not None:
 
                classes = tag.attrib.get("class", "")
                classes = "%s %s" % (classes, SELECTED_CLASS)
                tag.attrib["class"] = classes.strip()
                tag.attrib["id"] = xpath

src/c/r/crawley-dev-0.2.4/crawley/web_browser/gui_project.py   crawley-dev(Download)
from crawley.simple_parser.config_parser import ConfigApp
from crawley.simple_parser.parsers import DSLAnalizer
from config import SELECTED_CLASS
 
 
 
        obj = PyQueryExtractor().get_object(html)
        elements = obj(".%s" % SELECTED_CLASS)
 
        elements_xpath = [e.get("id") for e in elements]

src/c/r/crawley-HEAD/crawley/web_browser/gui_project.py   crawley(Download)
from crawley.simple_parser.config_parser import ConfigApp
from crawley.simple_parser.parsers import DSLAnalizer
from config import SELECTED_CLASS
 
 
 
        obj = PyQueryExtractor().get_object(html)
        elements = obj(".%s" % SELECTED_CLASS)
 
        elements_xpath = [e.get("id") for e in elements]