[Tutor] gzip
Walter Prins
wprins at gmail.com
Sun Aug 7 03:22:56 CEST 2011
On 7 August 2011 01:52, questions anon <questions.anon at gmail.com> wrote:
> How can I output the decompressed file? something like:
> output=file_content.write(filepath[:-3])
>
>
See here:
http://docs.python.org/tutorial/inputoutput.html#reading-and-writing-files
And here:
http://docs.python.org/library/stdtypes.html#file.write
Walter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20110807/3268e5b9/attachment.html>
More information about the Tutor
mailing list