Did I find the right examples for you? yes no

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

src/c/o/collective.autopermission-1.0b2/collective/autopermission/permissions.py   collective.autopermission(Download)
import Products
from AccessControl.Permission import _registeredPermissions
from AccessControl.Permission import pname
from AccessControl.Permission import ApplicationDefaultPermissions
 

src/p/r/Products.GenericSetup-1.7.4/Products/GenericSetup/utils.py   Products.GenericSetup(Download)
    def _initObjects(self, node):
        import Products
        for child in node.childNodes:
            if child.nodeName != 'object':
                continue

src/a/p/appy-0.8.5/appy/gen/installer.py   appy(Download)
           and force Zope to install it now.'''
        from OFS.Application import install_product
        import Products
        install_product(self.app, Products.__path__[1], 'ZCTextIndex', [], {})
 

src/p/r/Products.Silva-3.0.4/Products/Silva/ExtensionRegistry.py   Products.Silva(Download)
from silva.core.interfaces import ISilvaObject
 
import Products
 
 

src/p/r/Products.WatermarkImage-1.0/Products/WatermarkImage/permissions.py   Products.WatermarkImage(Download)
"""
 
import Products
from AccessControl import ModuleSecurityInfo
from AccessControl import Permissions

src/w/i/WingDBG-5.0rc2/WingDBG/ScriptDebugging.py   WingDBG(Download)
# Copy of code from CMFCore utils so we can expand the partial
# paths used for products to full path
import Products
ProductsPath = [ os.path.abspath(ppath) for ppath in Products.__path__ ]
def expandpath(p):

src/r/o/roadrunner-0.2.3.1/roadrunner/runner.py   roadrunner(Download)
    """
    # Put all packages found in products directories on the test-path.
    import Products
    products = []
 

src/z/o/zope2_bootstrap-0.1.0/zope2_bootstrap/patch.py   zope2_bootstrap(Download)
from zope.interface import Interface
from zope.publisher.interfaces import IRequest
import Products
import os
 

src/p/r/Products.CMFDefault-2.3.0-beta2/docs/conf.py   Products.CMFDefault(Download)
# documentation root, use os.path.abspath to make it absolute, like shown here.
#sys.path.append(os.path.abspath('.'))
import Products
Products.__path__.append(os.path.abspath('../Products'))
 

src/r/o/roadrunner-HEAD/roadrunner/runner.py   roadrunner(Download)
    """
    # Put all packages found in products directories on the test-path.
    import Products
    products = []
 

Previous  3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11  Next