Did I find the right examples for you? yes no

All Samples(14)  |  Call(0)  |  Derive(0)  |  Import(14)
Stick directory information in the built-in namespace.

src/m/2/M2Crypto-HEAD/examples/Zope/ZServer/__init__.py   M2Crypto(Download)
 
ZSERVER_VERSION='1.1b1'
import App.FindHomes
try:
    import App.version_txt

src/m/2/M2Crypto-HEAD/examples/Zope/z2s.py   M2Crypto(Download)
 
if USE_DAEMON and not READ_ONLY:
    import App.FindHomes
    sys.ZMANAGED=1
    # zdaemon.run creates a process which "manages" the actual Zope

src/z/o/Zope2-2.13.22/src/App/config.py   Zope2(Download)
        return
 
    from App import FindHomes
    import __builtin__
    import os
    def __init__(self):
        from App import FindHomes
        self.clienthome = FindHomes.CLIENT_HOME
        self.instancehome = FindHomes.INSTANCE_HOME
        if hasattr(FindHomes, 'SOFTWARE_HOME'):

src/z/o/Zope-HEAD/src/App/config.py   Zope(Download)
        return
 
    from App import FindHomes
    import __builtin__
    import os
    def __init__(self):
        from App import FindHomes
        self.clienthome = FindHomes.CLIENT_HOME
        self.instancehome = FindHomes.INSTANCE_HOME
        self.dbtab = None

src/d/m/dm.zdoc-2.0/dm/zdoc/__init__.py   dm.zdoc(Download)
import App.FindHomes # activate Zope's import magic
from AccessControl.Permission import addPermission
 
# register our permission
addPermission("zdoc: view documentation")

src/z/o/Zope-HEAD/src/App/tests/test_setConfiguration.py   Zope(Download)
    def testClientHomeLegacySources(self):
        import os
        import App.FindHomes
        import Globals  # for data
        import __builtin__
    def testInstanceHomeLegacySources(self):
        import os
        import App.FindHomes
        import Globals  # for data
        import __builtin__

src/r/e/repoze.zope2-1.0.3/repoze/zope2/scripts/testrunner.py   repoze.zope2(Download)
    print 'Parsing %s' % config_file
    Zope2.configure(config_file)
    import App.FindHomes # import for side effects
    ihome = os.getenv('INSTANCE_HOME')
    products = os.path.join(ihome, 'Products')

src/z/o/Zope2-2.13.22/src/App/tests/test_setConfiguration.py   Zope2(Download)
    def testClientHomeLegacySources(self):
        import os
        import App.FindHomes
        import Globals  # for data
        import __builtin__
    def testInstanceHomeLegacySources(self):
        import os
        import App.FindHomes
        import Globals  # for data
        import __builtin__
    def testSoftwareHomeLegacySources(self):
        import os
        import App.FindHomes
        import Globals  # for data
        import __builtin__
    def testZopeHomeLegacySources(self):
        import os
        import App.FindHomes
        import Globals  # for data
        import __builtin__