Esempio n. 1
0
def ife_getbuffers(files):
    returnme = []
    returnme.append(getStat(files))
    returnme.append(files)
    fbuff = open(files, "r")
    rbuff = utilities.getBuffer(fbuff, False)
    fbuff2 = open(files, "w")
    returnme.append(fbuff2)
    returnme.append(rbuff)
    returnme.append(fbuff)
    return returnme
Esempio n. 2
0
def ife_getbuffers(files):
    returnme = []
    returnme.append(getStat(files))
    returnme.append(files)
    fbuff = open(files, "r")
    rbuff = utilities.getBuffer(fbuff, False)
    fbuff2 = open(files, "w")
    returnme.append(fbuff2)
    returnme.append(rbuff)
    returnme.append(fbuff)
    return returnme
Esempio n. 3
0
def parseFiles(filenames):
    buffers = []
    for i in filenames:
        buffers.append(compress(utilities.getBuffer(open(i))))
    return parseCompressedBuffers(buffers, filenames)
Esempio n. 4
0
def parseFiles(filenames):
    buffers = []
    for i in filenames:
        buffers.append(compress(utilities.getBuffer(open(i))))
    return parseCompressedBuffers(buffers, filenames)