| |
comp.lang.python |
Xah Lee schrieb: > since i'm familiar with Python doc and have 10 years of computing > http://python.org/doc/2.4.1/lib/module-gzip.html > but after a minute of scanning, please someone tell me what the fuck is > Fuck the Python programing morons. > Thanks. > I just need to decompress files. Is it: > import gzip; > can someone put a example into that fucking doc so that people don't # read fucked # write unfucked Please feel free to insert this fucking example into the fucking docs. Have a nice ... eh fucking day :) --
> experience with 4 years in unix admin and perl, i have quickly located
> the official doc:
> it talking about?
> gzip.GzipFile("/Users/xah/access_log.1.gz");
> have to wade thru whatever fuck it is trying to sound big?
import gzip
fuckedfile = gzip.GzipFile('somefile.gz')
content = fuckedfile.read()
fuckedfile.close()
unfuckedfile = file('somefile','w')
unfuckedfile.write(content)
unfuckedfile.close()
-------------------------------------------------------------------
Peter Maas, M+R Infosysteme, D-52070 Aachen, Tel +49-241-93878-0
E-mail 'cGV0ZXIubWFhc0BtcGx1c3IuZGU=\n'.decode('base64')
-------------------------------------------------------------------