fileToCompress = open('finalcallejon.mb')
fileToStr = fileToCompress.read()
import gzip
fileZipped = gzip.GzipFile('finalcallejon.mb.gz', 'wb', 9)
fileZipped.write(fileToStr)
fileZipped.close()
this may help you in
http://mail.python.org/pipermail/python-list/2005-November/349718.html
Mike Meyer wrote:
Xah Lee [EMAIL PROTECTED] writes:
Newsgroups: comp.lang.perl.misc
PS: I won't cross-post as I'm not subscribed to the Python group.
Very wisely done. Then from Xah Lee, we get;
I have cross posted it for you.
Proving once again that he's stupider than spam.
Newsgroups: comp.lang.perl.misc
From: Veli-Pekka Tätilä
Date: Sat, 5 Nov 2005 17:25:35 +0200
Subject: Re: Python doc problem example: gzip module (reprise)
Xah Lee wrote:
Today i need to use Python to compress/decompress gzip files. snip
However, scanning the doc after 20 seconds there's
Xah Lee [EMAIL PROTECTED] writes:
Newsgroups: comp.lang.perl.misc
PS: I won't cross-post as I'm not subscribed to the Python group.
Very wisely done. Then from Xah Lee, we get;
I have cross posted it for you.
Proving once again that he's stupider than spam. Please help google
find him that
(gulp! red-in-the-face) yes Steve, I meant gist, sorry if I offended
anyone, specially Fredrik since I was referring to the 'substance' of
his post...certainly not as if it were a 'joke' .
Jean-Marc
--
http://mail.python.org/mailman/listinfo/python-list
On 05 Nov 2005 19:19:29 -0800, Paul Rubin http://[EMAIL PROTECTED] wrote:
Mike Meyer [EMAIL PROTECTED] writes:
It's only -because- of those licenses that there's any reason not to
bundle.
Actually, there are other reasons, just as there are reasons besides
licensing for not simply
Sorry but I take exception on this subject.
I still think Fredrik's Intro to Tkinter is still more usable ...
Grayson's book uses PMW extensively, and a lot is about specific
widgets of that library.
This actually brings us back to the jest of F. previous post, that
documentation is question of
On Sun, 06 Nov 2005 04:28:35 -0800, jmdeschamps wrote:
This actually brings us back to the jest of F. previous post,
I didn't think it was very funny...
Unless you meant the *gist* of Fredrik's post.
--
Steven.
--
http://mail.python.org/mailman/listinfo/python-list
Rick Wotnaz [EMAIL PROTECTED] writes:
[snip]
I've managed to avoid reading Xah Lee's diatribes for the most
part. Since you included the *WHOLE THING* in your post, I had an
opportunity to see what he had to say, and for once I agree with
some of it.
That's fine, but if you're going to
Python Doc Problem Example: gzip
Xah Lee, 20050831
Today i need to use Python to compress/decompress gzip files. Since
i've read the official Python tutorial 8 months ago, have spent 30
minutes with Python 3 times a week since, have 14 years of computing
experience, 8 years in mathematical
Xah Lee wrote:
Python Doc Problem Example: gzip
Xah Lee, 20050831
Today i need to use Python to compress/decompress gzip files. Since
i've read the official Python tutorial 8 months ago, have spent 30
minutes with Python 3 times a week since, have 14 years of computing
experience, 8 years
Xah Lee wrote:
i've read the official Python tutorial 8 months ago, have spent 30
minutes with Python 3 times a week since, have 14 years of computing
experience, 8 years in mathematical computing and 4 years in unix admin
and perl
I can wiggle my ears.
--
Gerard Flanagan [EMAIL PROTECTED] wrote in
news:[EMAIL PROTECTED]:
Xah Lee wrote:
Python Doc Problem Example: gzip
[...]
A quality documentation should be clear, succinct, precise.
And, the least it assumes reader's expertise to obtain these
qualities, the better it is.
Vast majority of
Jeffrey Schwab wrote:
Xah Lee wrote:
i've read the official Python tutorial 8 months ago, have spent 30
minutes with Python 3 times a week since, have 14 years of computing
experience, 8 years in mathematical computing and 4 years in unix admin
and perl
I can wiggle my ears.
Which is
RW == Rick Wotnaz [EMAIL PROTECTED] writes:
RW Someone is sure to jump in now and point to sample code, which
RW nearly all reasonably major packages include. That's good
RW stuff. With (for example) wxPython, it's the only useful
RW documentation, or rather, it's the only thing
Hello NG,
I've managed to avoid reading Xah Lee's diatribes for the most
part. Since you included the *WHOLE THING* in your post, I had an
opportunity to see what he had to say, and for once I agree with
some of it.
snip
I would love to see examples for essentially every function and
Andrea Gavana [EMAIL PROTECTED] writes:
I tend to agree with you, Rick. I usually don't like Xah's posting
behavior, but this time he has done, in my opinion, a constructive
criticism (and he didn't even say *fuck* once in the whole post!!!). I am
quite a newbie in Python, I usually deal with
Mike Meyer [EMAIL PROTECTED] writes:
The thing is, the library documentation that Xah Lee is complaining
about is a *reference document*. It says so right in the title:
Python Library Reference. As such, it makes lousy tutorial
documentation.
I'm not sure which particular library Xah Lee was
Paul Rubin http://[EMAIL PROTECTED] writes:
Mike Meyer [EMAIL PROTECTED] writes:
The thing is, the library documentation that Xah Lee is complaining
about is a *reference document*. It says so right in the title:
Python Library Reference. As such, it makes lousy tutorial
documentation.
I'm
Mike Meyer [EMAIL PROTECTED] writes:
To my knowledge the PSF isn't doing anything about including the
documentation with their distribution, so they shouldn't care about
the licenses. Wanting to bundle a good tutorial for everything in
the library might be on the list, but the licenses on
Paul Rubin http://[EMAIL PROTECTED] writes:
To my knowledge the PSF isn't doing anything about including the
documentation with their distribution, so they shouldn't care about
the licenses. Wanting to bundle a good tutorial for everything in
the library might be on the list, but the licenses
Mike Meyer [EMAIL PROTECTED] writes:
It's only -because- of those licenses that there's any reason not to
bundle.
Actually, there are other reasons, just as there are reasons besides
licensing for not simply including third party libraries into the
standard library.
I'm not talking about
Paul Rubin http://[EMAIL PROTECTED] writes:
Mike Meyer [EMAIL PROTECTED] writes:
It's only -because- of those licenses that there's any reason not to
bundle.
Actually, there are other reasons, just as there are reasons besides
licensing for not simply including third party libraries into
23 matches
Mail list logo