<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DZone Snippets: gz code</title>
    <link>http://snippets.dzone.com/posts</link>
    <pubDate>Sun, 27 Jul 2008 00:57:37 GMT</pubDate>
    <description>DZone Snippets: gz code</description>
    <item>
      <title>unix, pack folder and contents with tar gz</title>
      <link>http://snippets.dzone.com/posts/show/3075</link>
      <description>&lt;code&gt;&lt;br /&gt;tar -zcvf packagename.tar.gz folder/&lt;br /&gt;&lt;/code&gt;</description>
      <pubDate>Mon, 04 Dec 2006 16:28:02 GMT</pubDate>
      <guid>http://snippets.dzone.com/posts/show/3075</guid>
      <author>assbach (assbach)</author>
    </item>
    <item>
      <title>Using gzip module</title>
      <link>http://snippets.dzone.com/posts/show/625</link>
      <description>Modified from this funny thread in c.l.p&lt;br /&gt;http://groups.google.co.uk/group/comp.lang.python/msg/e53361331c23fd76&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;import gzip&lt;br /&gt;&lt;br /&gt;zfile = gzip.GzipFile('somefile.gz')&lt;br /&gt;content = zfile.read()&lt;br /&gt;zfile.close()&lt;br /&gt;&lt;/code&gt;</description>
      <pubDate>Fri, 02 Sep 2005 22:22:44 GMT</pubDate>
      <guid>http://snippets.dzone.com/posts/show/625</guid>
      <author>korakot (Korakot Chaovavanich)</author>
    </item>
  </channel>
</rss>
