You can use gzip and shutil libraries of Python to compress a file. Here is an example. I am compressing my input text file 'inp.txt'.
確定! 回上一頁