Beispiel #1
0
def btopen(s, mode='r'):
    """
    Open the file (eg. return a BtIO object)
    """
    f = getfile(s)
    if f is None:
        f = File.new(path=s)
    io = BtIO(f, mode)
    return io
Beispiel #2
0
def btopen(s, mode='r'):
    """
    Open the file (eg. return a BtIO object)
    """
    f = getfile(s)
    if f is None:
        f = File.new(path=s)
    io = BtIO(f, mode)
    return io