<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Python Challenge level 6: &#8220;now there are pairs&#8221;</title>
	<atom:link href="http://unixwars.com/2007/09/12/python-challenge-level-6-now-there-are-pairs/feed/" rel="self" type="application/rss+xml" />
	<link>http://unixwars.com/2007/09/12/python-challenge-level-6-now-there-are-pairs/</link>
	<description>Taher Shihadeh's ragbag</description>
	<lastBuildDate>Fri, 13 Aug 2010 11:07:31 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Psychedelic Squid</title>
		<link>http://unixwars.com/2007/09/12/python-challenge-level-6-now-there-are-pairs/comment-page-1/#comment-1573</link>
		<dc:creator>Psychedelic Squid</dc:creator>
		<pubDate>Tue, 09 Mar 2010 02:52:35 +0000</pubDate>
		<guid isPermaLink="false">http://unixwars.com/2007/09/12/python-challenge-level-6-now-there-are-pairs/#comment-1573</guid>
		<description>&lt;code&gt;print &quot;File&quot;,idx+&quot;:t&quot;+ data&lt;/code&gt;
should be
&lt;code&gt;print &quot;File&quot;,idx+&quot;:\t&quot;+ data&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p><code>print "File",idx+":t"+ data</code><br />
should be<br />
<code>print "File",idx+":\t"+ data</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Taher Shihadeh</title>
		<link>http://unixwars.com/2007/09/12/python-challenge-level-6-now-there-are-pairs/comment-page-1/#comment-1459</link>
		<dc:creator>Taher Shihadeh</dc:creator>
		<pubDate>Tue, 13 Oct 2009 07:28:07 +0000</pubDate>
		<guid isPermaLink="false">http://unixwars.com/2007/09/12/python-challenge-level-6-now-there-are-pairs/#comment-1459</guid>
		<description>@kalt: look at the characters used to draw HOCKEY. O for H, X for O, etc.</description>
		<content:encoded><![CDATA[<p>@kalt: look at the characters used to draw HOCKEY. O for H, X for O, etc.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kalt</title>
		<link>http://unixwars.com/2007/09/12/python-challenge-level-6-now-there-are-pairs/comment-page-1/#comment-1458</link>
		<dc:creator>kalt</dc:creator>
		<pubDate>Tue, 13 Oct 2009 07:16:48 +0000</pubDate>
		<guid isPermaLink="false">http://unixwars.com/2007/09/12/python-challenge-level-6-now-there-are-pairs/#comment-1458</guid>
		<description>where&#039;s the word &quot;oxygen&quot; coming from?</description>
		<content:encoded><![CDATA[<p>where&#8217;s the word &#8220;oxygen&#8221; coming from?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Taher</title>
		<link>http://unixwars.com/2007/09/12/python-challenge-level-6-now-there-are-pairs/comment-page-1/#comment-1167</link>
		<dc:creator>Taher</dc:creator>
		<pubDate>Thu, 20 Aug 2009 19:16:51 +0000</pubDate>
		<guid isPermaLink="false">http://unixwars.com/2007/09/12/python-challenge-level-6-now-there-are-pairs/#comment-1167</guid>
		<description>Nope. 2.6 works just fine. But your zipfile is broken.

&lt;code&gt;
taher@borg:~/src/python_challenge$ unzip -l channel.zip
&lt;/code&gt;
This should report 910 files in the compressed file.</description>
		<content:encoded><![CDATA[<p>Nope. 2.6 works just fine. But your zipfile is broken.</p>
<p><code><br />
taher@borg:~/src/python_challenge$ unzip -l channel.zip<br />
</code><br />
This should report 910 files in the compressed file.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: PJD</title>
		<link>http://unixwars.com/2007/09/12/python-challenge-level-6-now-there-are-pairs/comment-page-1/#comment-1166</link>
		<dc:creator>PJD</dc:creator>
		<pubDate>Thu, 20 Aug 2009 17:28:13 +0000</pubDate>
		<guid isPermaLink="false">http://unixwars.com/2007/09/12/python-challenge-level-6-now-there-are-pairs/#comment-1166</guid>
		<description>I get:

&lt;code&gt;
Traceback (most recent call last):
  File &quot;./channel.py&quot;, line 13, in 
    content = file.read(name + &quot;.txt&quot;)
  File &quot;/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/zipfile.py&quot;, line 836, in read
    return self.open(name, &quot;r&quot;, pwd).read()
  File &quot;/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/zipfile.py&quot;, line 859, in open
    zinfo = self.getinfo(name)
  File &quot;/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/zipfile.py&quot;, line 826, in getinfo
    &#039;There is no item named %r in the archive&#039; % name)
KeyError: &quot;There is no item named &#039;90052.txt&#039; in the archive&quot;
&lt;/code&gt; 

when i run the script.
Could it have something to do with the version of python I&#039;m using?</description>
		<content:encoded><![CDATA[<p>I get:</p>
<p><code><br />
Traceback (most recent call last):<br />
  File "./channel.py", line 13, in<br />
    content = file.read(name + ".txt")<br />
  File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/zipfile.py", line 836, in read<br />
    return self.open(name, "r", pwd).read()<br />
  File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/zipfile.py", line 859, in open<br />
    zinfo = self.getinfo(name)<br />
  File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/zipfile.py", line 826, in getinfo<br />
    'There is no item named %r in the archive' % name)<br />
KeyError: "There is no item named '90052.txt' in the archive"<br />
</code> </p>
<p>when i run the script.<br />
Could it have something to do with the version of python I&#8217;m using?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: EoghanM</title>
		<link>http://unixwars.com/2007/09/12/python-challenge-level-6-now-there-are-pairs/comment-page-1/#comment-1153</link>
		<dc:creator>EoghanM</dc:creator>
		<pubDate>Mon, 20 Jul 2009 16:30:46 +0000</pubDate>
		<guid isPermaLink="false">http://unixwars.com/2007/09/12/python-challenge-level-6-now-there-are-pairs/#comment-1153</guid>
		<description>Ugh
&#039;zip&#039; was misleading as it is a built in Python function, the hint should have read &#039;.zip&#039;
The comment information was lost when I automatically extracted the zip file - rendering hint2 completely misleading -&gt; the answer isn&#039;t inside the zip, it&#039;s in the zip metadata.
Ugh</description>
		<content:encoded><![CDATA[<p>Ugh<br />
&#8216;zip&#8217; was misleading as it is a built in Python function, the hint should have read &#8216;.zip&#8217;<br />
The comment information was lost when I automatically extracted the zip file &#8211; rendering hint2 completely misleading -&gt; the answer isn&#8217;t inside the zip, it&#8217;s in the zip metadata.<br />
Ugh</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: zero</title>
		<link>http://unixwars.com/2007/09/12/python-challenge-level-6-now-there-are-pairs/comment-page-1/#comment-1151</link>
		<dc:creator>zero</dc:creator>
		<pubDate>Tue, 07 Jul 2009 19:13:28 +0000</pubDate>
		<guid isPermaLink="false">http://unixwars.com/2007/09/12/python-challenge-level-6-now-there-are-pairs/#comment-1151</guid>
		<description>And what about the pairs? There were no pairs in the entire riddle. The 94191.txt is not part of the series. Why is that? It misleads me completely. I tried to combine the 2 series with the zip function and do various stuffs with the pairs, but it leads me nowhere.
(Btw, I had no idea about the comment field associated to each zip entry.)</description>
		<content:encoded><![CDATA[<p>And what about the pairs? There were no pairs in the entire riddle. The 94191.txt is not part of the series. Why is that? It misleads me completely. I tried to combine the 2 series with the zip function and do various stuffs with the pairs, but it leads me nowhere.<br />
(Btw, I had no idea about the comment field associated to each zip entry.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: azurepalm</title>
		<link>http://unixwars.com/2007/09/12/python-challenge-level-6-now-there-are-pairs/comment-page-1/#comment-13</link>
		<dc:creator>azurepalm</dc:creator>
		<pubDate>Mon, 31 Dec 2007 02:45:03 +0000</pubDate>
		<guid isPermaLink="false">http://unixwars.com/2007/09/12/python-challenge-level-6-now-there-are-pairs/#comment-13</guid>
		<description>ah ok. i never thought that these files have a comment field on them. thanks.</description>
		<content:encoded><![CDATA[<p>ah ok. i never thought that these files have a comment field on them. thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Taher Shihadeh</title>
		<link>http://unixwars.com/2007/09/12/python-challenge-level-6-now-there-are-pairs/comment-page-1/#comment-11</link>
		<dc:creator>Taher Shihadeh</dc:creator>
		<pubDate>Wed, 26 Dec 2007 12:21:20 +0000</pubDate>
		<guid isPermaLink="false">http://unixwars.com/2007/09/12/python-challenge-level-6-now-there-are-pairs/#comment-11</guid>
		<description>Those would be the comments for every single file zipped in the compressed archive. Try &quot;unzip -l channel.zip &#124; less&quot; if it&#039;s still unclear. :)
I don&#039;t do Windows, so I&#039;m not really sure how you could view the comments from there.</description>
		<content:encoded><![CDATA[<p>Those would be the comments for every single file zipped in the compressed archive. Try &#8220;unzip -l channel.zip | less&#8221; if it&#8217;s still unclear. :)<br />
I don&#8217;t do Windows, so I&#8217;m not really sure how you could view the comments from there.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: azurepalm</title>
		<link>http://unixwars.com/2007/09/12/python-challenge-level-6-now-there-are-pairs/comment-page-1/#comment-9</link>
		<dc:creator>azurepalm</dc:creator>
		<pubDate>Wed, 26 Dec 2007 00:03:22 +0000</pubDate>
		<guid isPermaLink="false">http://unixwars.com/2007/09/12/python-challenge-level-6-now-there-are-pairs/#comment-9</guid>
		<description>Ugh, I still don&#039;t understand how you get from &quot;Collect the comments&quot; to hockey.html</description>
		<content:encoded><![CDATA[<p>Ugh, I still don&#8217;t understand how you get from &#8220;Collect the comments&#8221; to hockey.html</p>
]]></content:encoded>
	</item>
</channel>
</rss>
