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

All Samples(5)  |  Call(5)  |  Derive(0)  |  Import(0)
Accessor for tempfile.tempdir.

        def gettempdir():
    """Accessor for tempfile.tempdir."""
    global tempdir
    if tempdir is None:
        _once_lock.acquire()
        try:
            if tempdir is None:
                tempdir = _get_default_tempdir()
        finally:
            _once_lock.release()
    return tempdir
        


src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/translator/goal/bench-cronjob.py   plexnet(Download)
 
 
tmpdir  = py.std.tempfile.gettempdir() + '/usession-' + os.environ['USER'] + '/'
cflags  = "-O3"
lflags  = "-lgc -lm -lpthread"

src/p/l/plexnet-HEAD/third_party/generic/pypy/py/path/local/local.py   plexnet(Download)
    def get_temproot(cls):
        """ return the system's temporary directory
            (where tempfiles are usually created in)
        """
        return py.path.local(py.std.tempfile.gettempdir())

src/n/u/nupic-linux64-HEAD/lib/python2.6/site-packages/py/_path/local.py   nupic-linux64(Download)
    def get_temproot(cls):
        """ return the system's temporary directory
            (where tempfiles are usually created in)
        """
        return py.path.local(py.std.tempfile.gettempdir())

src/p/y/py-1.4.20/py/_path/local.py   py(Download)
    def get_temproot(cls):
        """ return the system's temporary directory
            (where tempfiles are usually created in)
        """
        return py.path.local(py.std.tempfile.gettempdir())

src/s/y/Sypy-HEAD/translator/goal/bench-cronjob.py   Sypy(Download)
 
 
tmpdir  = py.std.tempfile.gettempdir() + '/usession-' + os.environ['USER'] + '/'
cflags  = "-O3"
lflags  = "-lgc -lm -lpthread"