We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can use use the same syntax as gzip to compress an existing file? this does not work
import mgzip import shutil
with open(filename, 'rb') as f_in: with mgzip.open(filename+'.gz', "wt", thread=8, blocksize=2*10**8) as f_out: shutil.copyfileobj(f_in, f_out)
The text was updated successfully, but these errors were encountered:
@javiercr2020 it works when I change the mode to "wb".
Sorry, something went wrong.
No branches or pull requests
Can use use the same syntax as gzip to compress an existing file? this does not work
import mgzip
import shutil
The text was updated successfully, but these errors were encountered: