Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env python
import sys
import argparse
import lzma
def compressor(infile, outfile):
with lzma.open(outfile, 'w') as lzf:
lzf.write(infile)
#!/usr/bin/env python
import sys
import getopt
import lzma
def compressor(infile, outfile):
with lzma.open(outfile, "w") as f:
f.write(infile)