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
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