Esempio n. 1
0
import bz2

from demo_reader.util import writer

extension = '.bz2'
opener = bz2.open

if __name__ == '__main__':
    writer.main(bz2.open)
Esempio n. 2
0
import bz2
#import sys
from demo_reader.util import writer
#from .. import util #Relative-Import

opener = bz2.open

if __name__ == '__main__':
    #f = bz2.open(sys.argv[1], mode='wt')
    #f.write(' '.join(sys.argv[2:]))
    #f.close()
    writer.main(opener)