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

All Samples(4)  |  Call(2)  |  Derive(0)  |  Import(2)

src/p/y/python-code-snippets-HEAD/PyLucidPlugins/SelfDocu/SelfDocu.py   python-code-snippets(Download)
 
from PyLucid.components.plugin_cfg import PluginConfig
from PyLucid.tools.out_buffer import Redirector
from PyLucid.system.BaseModule import PyLucidBaseModule
 
    def __get_help(self, obj):
        out = Redirector(self.page_msg)
        help(obj)
        return cgi.escape(out.get())
 

src/p/y/python-code-snippets-HEAD/PyLucidPlugins/EvilEval/EvilEval.py   python-code-snippets(Download)
 
 
from PyLucid.tools.out_buffer import Redirector
from PyLucid.system.BaseModule import PyLucidBaseModule
 
    def exec_code(self, sourcecode):
 
        start_time = time.time()
 
        stdout_redirector = Redirector(self.page_msg)