Пример #1
0
def writefile(filename, buf, callback=None, errback=None):
    f = open(filename, 'wb', size=len(buf))
    _async.submit_write_io(f, buf, callback, errback)
    f.close()
Пример #2
0
def writefile(filename, buf, callback=None, errback=None):
    f = open(filename, 'wb', size=len(buf))
    _async.submit_write_io(f, buf, callback, errback)
    f.close()
Пример #3
0
def write(obj, buf, callback=None, errback=None):
    _async.submit_write_io(obj, buf, callback, errback)
Пример #4
0
def write(obj, buf, callback=None, errback=None):
    _async.submit_write_io(obj, buf, callback, errback)