xzf, XTRACT ZE FILES!, is a utility for file extraction, as you may have guessed. Inspired by xkcd and general boredom. Works on both python v2.7 and v3.3.
Usage:
$ python xzf.py file [extra_tar_flags]
Or, programatically:
from xzf import xtract_ze_files
xzf.extract_ze_files(file, extra_tar_flags)
The extra flags are passed directly to tar
, so you can do something like:
$ python xzf.py some_file.tar.gz -v
And the output will be verbose. The command executed in this case will be:
tar --gzip -v -xf some_file.tar.gz