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

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/t/itools-0.75.1/fs/lfs.py   itools(Download)
# Import from itools
from itools.uri import Path
from common import WRITE, READ_WRITE, APPEND, READ, get_mimetype
 
 
MODES = {WRITE: 'wb', READ_WRITE: 'r+b', APPEND: 'ab', READ: 'rb'}

src/i/t/itools-HEAD/fs/lfs.py   itools(Download)
# Import from itools
from itools.uri import Path
from common import WRITE, READ_WRITE, APPEND, READ, get_mimetype
 
 
MODES = {WRITE: 'wb', READ_WRITE: 'r+b', APPEND: 'ab', READ: 'rb'}

src/i/t/itools-0.75.1/fs/vfs.py   itools(Download)
# Import from itools
from itools.uri import resolve_uri, resolve_uri2, get_uri_name, get_uri_path
from common import READ, WRITE, READ_WRITE, APPEND, get_mimetype
 
 
            # by example, there is no get_lines member.
            return StringIO(g_file.read().read())
        elif mode is WRITE:
            return g_file.replace('', False)
        elif mode is APPEND:

src/i/t/itools-HEAD/fs/vfs.py   itools(Download)
# Import from itools
from itools.uri import resolve_uri, resolve_uri2, get_uri_name, get_uri_path
from common import READ, WRITE, READ_WRITE, APPEND, get_mimetype
 
 
            # by example, there is no get_lines member.
            return StringIO(g_file.read().read())
        elif mode is WRITE:
            return g_file.replace('', False)
        elif mode is APPEND:

src/i/t/itools-0.75.1/fs/__init__.py   itools(Download)
 
# Import from itools
from common import READ, WRITE, READ_WRITE, APPEND, FileName
from lfs import lfs
from vfs import vfs

src/i/t/itools-HEAD/fs/__init__.py   itools(Download)
 
# Import from itools
from common import READ, WRITE, READ_WRITE, APPEND, FileName
from lfs import lfs
from vfs import vfs