• Facebook
  • Twitter
  • Reddit
  • StumbleUpon
  • Digg
  • email

All Samples(6)  |  Call(0)  |  Derive(0)  |  Import(6)
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.

src/i/p/ipython-py3k-HEAD/IPython/utils/tempdir.py   ipython-py3k(Download)
except ImportError:
 
    import os as _os
    from tempfile import mkdtemp, template
 
    class TemporaryDirectory(object):
        """Create and return a temporary directory.  This has the same

src/n/i/nipy-HEAD/nipype/trunk/nipype/utils/tmpdirs.py   nipy(Download)
# emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*-
# vi: set ft=python sts=4 ts=4 sw=4 et:
import os
import shutil
from tempfile import template, mkdtemp
 
 

src/n/i/nipy-HEAD/nipy/utils/tmpdirs.py   nipy(Download)
from __future__ import with_statement
import os
import shutil
from tempfile import template, mkdtemp
 
 
class TemporaryDirectory(object):

src/n/i/NiPypeold-HEAD/nipype/utils/tmpdirs.py   NiPypeold(Download)
# emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*-
# vi: set ft=python sts=4 ts=4 sw=4 et:
import os
import shutil
from tempfile import template, mkdtemp
 
 

src/n/i/NiPy-OLD-HEAD/nipy/utils/tmpdirs.py   NiPy-OLD(Download)
''' Contexts for *with* statement providing temporary directories
'''
from __future__ import with_statement
import os
import shutil
from tempfile import template, mkdtemp
 

src/n/i/nibabel-HEAD/nibabel/tmpdirs.py   nibabel(Download)
from __future__ import with_statement
import os
import shutil
from tempfile import template, mkdtemp
 
 
class TemporaryDirectory(object):