Did I find the right examples for you? yes no

All Samples(7)  |  Call(7)  |  Derive(0)  |  Import(0)
Create a file with the given path.

@param path: The filename of the file from which this L{File} will
    serve data.
@type path: C{str}

@param defaultType: A I{major/minor}-style MIME type specifier
    indicating the I{Content-Type} with which this L{File}'s data
    will be served if a MIME type cannot be determined based on
    C{path}'s extension.(more...)

src/p/i/piped-0.5.8/piped/providers/web_provider.py   piped(Download)
    def __init__(self, path, defaultType="text/html", ignoredExts=(), registry=None, allowExt=0, namespace=None, preprocessors=None, **kwargs):
        static.File.__init__(self, util.expand_filepath(path), defaultType=defaultType, ignoredExts=ignoredExts, registry=registry, allowExt=allowExt, **kwargs)
 
        self.namespace = dict(self=self)
        self.namespace.update(namespace or dict())

src/p/i/Piped-HEAD/piped/providers/web_provider.py   Piped(Download)
    def __init__(self, path, defaultType="text/html", ignoredExts=(), registry=None, allowExt=0, namespace=None, preprocessors=None, **kwargs):
        static.File.__init__(self, util.expand_filepath(path), defaultType=defaultType, ignoredExts=ignoredExts, registry=registry, allowExt=allowExt, **kwargs)
 
        self.namespace = dict(self=self)
        self.namespace.update(namespace or dict())

src/w/e/Webmagic-12.4.12/webmagic/untwist.py   Webmagic(Download)
			seconds since epoch.
		"""
		static.File.__init__(self, path, defaultType, ignoredExts, registry)
 
		if responseCacheOptions is None:

src/m/o/mother-webapps-framework-0.1.0/lib/mother/template.py   mother-webapps-framework(Download)
		if not os.path.isabs(path):
			path = os.path.join(basedir, path)
		static.File.__init__(self, path, *args, **kwargs)
 
		if name is not None:

src/s/n/snac-HEAD/apps/miscws/logws.py   snac(Download)
    def __init__(self, component, file):
        UIResource.__init__(self, component)
        static.File.__init__(self, file)
 
class OutputGrabber(protocol.ProcessProtocol):

src/d/o/Downpour-0.2/downpour/web/work.py   Downpour(Download)
    def __init__(self, *args, **kwargs):
        static.File.__init__(self, *args, **kwargs)
 
    def directoryListing(self):
        lister = DirectoryIndex(self.path,

src/d/o/Downpour-0.2/downpour/web/browse.py   Downpour(Download)
    def __init__(self, *args, **kwargs):
        static.File.__init__(self, *args, **kwargs)
 
    def directoryListing(self):
        lister = DirectoryIndex(self.path,