"how to compress with 7zip instead of zip, code changing","subprocess.call(['7z', 'a', filename + '.7z', '*.*'])"