Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd0ddab commit 667a13bCopy full SHA for 667a13b
1 file changed
Doc/library/lzma.rst
@@ -336,14 +336,14 @@ Reading in a compressed file::
336
337
import lzma
338
with lzma.LZMAFile("file.xz") as f:
339
- file_content = f.read()
+ file_content = f.read()
340
341
Creating a compressed file::
342
343
344
data = b"Insert Data Here"
345
with lzma.LZMAFile("file.xz", "w") as f:
346
- f.write(data)
+ f.write(data)
347
348
Compressing data in memory::
349
0 commit comments