Did I find the right examples for you? yes no

All Samples(105)  |  Call(0)  |  Derive(0)  |  Import(105)

src/m/2/M2Crypto-HEAD/examples/Zope/z2s.py   M2Crypto(Download)
    # Import Zope (or Main)
    if MODULE == 'Zope':
        import Zope
        Zope.startup()
    else:

src/k/u/kuma-lib-HEAD/packages/ipython/IPython/Extensions/ipy_profile_zope.py   kuma-lib(Download)
            app = Zope2.app()
        except ImportError:
            import Zope
            app = Zope.app()
 

src/c/o/collective.synchro-1.0.2/collective/synchro/scripts/import_queue.py   collective.synchro(Download)
                import Zope2 as Zope
            except ImportError:
                import Zope
            app = Zope.app()
            from Testing import makerequest

src/z/o/zopyx.plone.migration-0.2.8/zopyx/plone/migration/exporter.py   zopyx.plone.migration(Download)
def main():
    from optparse import OptionParser
    from AccessControl.SecurityManagement import newSecurityManager
    import Zope
    gc.enable()

src/p/r/Products.QueueCatalog-1.6.0/Products/QueueCatalog/Processor.py   Products.QueueCatalog(Download)
 
import thread
import Zope
from time import sleep
import sys

src/p/r/Products.kupu-1.5.2/Products/kupu/__init__.py   Products.kupu(Download)
if not have_zope2:
    try:
        import Zope
        have_zope2 = 1
    except ImportError:

src/i/p/ipython-py3k-HEAD/IPython/deathrow/ipy_profile_zope.py   ipython-py3k(Download)
            app = Zope2.app()
        except ImportError:
            import Zope
            app = Zope.app()
 

src/w/i/WingDBG-5.0rc2/WingDBG/DebugHttpServer.py   WingDBG(Download)
                        # connection. See if we need to auto-reconnect, and do
                        # so if necessary.
                        import Zope
                        from config import CONTROL_PANEL_ID
                        odb = Zope.bobo_application()

src/a/p/apycotbot-1.10.0/checkers/chks_pt.py   apycotbot(Download)
        import Zope2 as Zope
    except ImportError:
        import Zope
 
    if hasattr(Zope, 'startup'):

src/e/r/erp5-HEAD/product/MailTemplates/tests/test_MailTemplate.py   erp5(Download)
    import Zope2 as Zope
except ImportError:
    import Zope
 
from AccessControl.SecurityManagement import newSecurityManager

  1 | 2 | 3  Next