<?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: Some Spam Karma Automation in Python</title>
	<atom:link href="http://pthree.org/2007/03/07/some-spam-karma-automation-in-python/feed/" rel="self" type="application/rss+xml" />
	<link>http://pthree.org/2007/03/07/some-spam-karma-automation-in-python/</link>
	<description>Linux.  GNU.  Freedom.</description>
	<lastBuildDate>Fri, 17 May 2013 20:46:35 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.6-beta2-24176</generator>
	<item>
		<title>By: David Adam</title>
		<link>http://pthree.org/2007/03/07/some-spam-karma-automation-in-python/#comment-37288</link>
		<dc:creator>David Adam</dc:creator>
		<pubDate>Sat, 10 Mar 2007 03:27:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.pthree.org/2007/03/07/some-spam-karma-automation-in-python/#comment-37288</guid>
		<description><![CDATA[Use the CSV module, Luke^WAaron!

(It makes your code more readable and has the advantage of escaping commas for you.)]]></description>
		<content:encoded><![CDATA[<p>Use the CSV module, Luke^WAaron!</p>
<p>(It makes your code more readable and has the advantage of escaping commas for you.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://pthree.org/2007/03/07/some-spam-karma-automation-in-python/#comment-37212</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Fri, 09 Mar 2007 18:04:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.pthree.org/2007/03/07/some-spam-karma-automation-in-python/#comment-37212</guid>
		<description><![CDATA[good to see someone actually posting code to a blog.]]></description>
		<content:encoded><![CDATA[<p>good to see someone actually posting code to a blog.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yoni</title>
		<link>http://pthree.org/2007/03/07/some-spam-karma-automation-in-python/#comment-37072</link>
		<dc:creator>Yoni</dc:creator>
		<pubDate>Thu, 08 Mar 2007 19:08:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.pthree.org/2007/03/07/some-spam-karma-automation-in-python/#comment-37072</guid>
		<description><![CDATA[Just minor python style points -- you use capitalized variable names, which is generally frowned on, just as it is in Java. Classes are capped, variables aren&#039;t. So NewList1 should be something like &quot;prettyResults&quot; or something else meaningful.

Also, you use full tabs; it&#039;s far more common to stick with four spaces (you can set your text editor to use spaces when you hit tab) unless you&#039;re maintaining all-tabbed legacy code. It makes for more consistent display across editors and platforms.

For that matter, what are you using NewList1 for, anyways? You never read the value...

not so much criticisms as style pointers; looks pretty good otherwise. Enjoy python!]]></description>
		<content:encoded><![CDATA[<p>Just minor python style points &#8212; you use capitalized variable names, which is generally frowned on, just as it is in Java. Classes are capped, variables aren&#8217;t. So NewList1 should be something like &#8220;prettyResults&#8221; or something else meaningful.</p>
<p>Also, you use full tabs; it&#8217;s far more common to stick with four spaces (you can set your text editor to use spaces when you hit tab) unless you&#8217;re maintaining all-tabbed legacy code. It makes for more consistent display across editors and platforms.</p>
<p>For that matter, what are you using NewList1 for, anyways? You never read the value&#8230;</p>
<p>not so much criticisms as style pointers; looks pretty good otherwise. Enjoy python!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aaron</title>
		<link>http://pthree.org/2007/03/07/some-spam-karma-automation-in-python/#comment-37033</link>
		<dc:creator>Aaron</dc:creator>
		<pubDate>Thu, 08 Mar 2007 13:39:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.pthree.org/2007/03/07/some-spam-karma-automation-in-python/#comment-37033</guid>
		<description><![CDATA[Karl-  Spam Karma 2 is the best because of the sheer amount of control that you have over your system.  CAPTCHAs are good, and you may not be getting any spam through, but they aren&#039;t perfect, and when you&#039;re getting hit as heavy as I am, you need something better.

EvilDead-  Cool.  Thanks for the tip.  And I&#039;m aware of the strings. :)]]></description>
		<content:encoded><![CDATA[<p>Karl-  Spam Karma 2 is the best because of the sheer amount of control that you have over your system.  CAPTCHAs are good, and you may not be getting any spam through, but they aren&#8217;t perfect, and when you&#8217;re getting hit as heavy as I am, you need something better.</p>
<p>EvilDead-  Cool.  Thanks for the tip.  And I&#8217;m aware of the strings. <img src='http://pthree.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: EvilDead</title>
		<link>http://pthree.org/2007/03/07/some-spam-karma-automation-in-python/#comment-37015</link>
		<dc:creator>EvilDead</dc:creator>
		<pubDate>Thu, 08 Mar 2007 12:04:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.pthree.org/2007/03/07/some-spam-karma-automation-in-python/#comment-37015</guid>
		<description><![CDATA[Oh, I forgot the strings. In Python, you may use either &#039; or &quot; for string, depending on your needs. So you can write this:

text = &quot;&#039;%s&#039; is ready for review.&quot; % outfile

This produces the same result as your code without the escape characters.]]></description>
		<content:encoded><![CDATA[<p>Oh, I forgot the strings. In Python, you may use either &#8216; or &#8221; for string, depending on your needs. So you can write this:</p>
<p>text = &#8220;&#8216;%s&#8217; is ready for review.&#8221; % outfile</p>
<p>This produces the same result as your code without the escape characters.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: EvilDead</title>
		<link>http://pthree.org/2007/03/07/some-spam-karma-automation-in-python/#comment-37014</link>
		<dc:creator>EvilDead</dc:creator>
		<pubDate>Thu, 08 Mar 2007 12:01:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.pthree.org/2007/03/07/some-spam-karma-automation-in-python/#comment-37014</guid>
		<description><![CDATA[Hi Aaron,

Just to let you know about list comprehension:

NewList2  = [i[j] for j in range(4)]

has the same effect as:

NewList2 = []
for j in range(4):
    NewList2.append(i[j])

This is useful in Python, you may need it to write clearer code if you need to use Python in your job :-)]]></description>
		<content:encoded><![CDATA[<p>Hi Aaron,</p>
<p>Just to let you know about list comprehension:</p>
<p>NewList2  = [i[j] for j in range(4)]</p>
<p>has the same effect as:</p>
<p>NewList2 = []<br />
for j in range(4):<br />
    NewList2.append(i[j])</p>
<p>This is useful in Python, you may need it to write clearer code if you need to use Python in your job <img src='http://pthree.org/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Karl Lattimer</title>
		<link>http://pthree.org/2007/03/07/some-spam-karma-automation-in-python/#comment-36995</link>
		<dc:creator>Karl Lattimer</dc:creator>
		<pubDate>Thu, 08 Mar 2007 10:14:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.pthree.org/2007/03/07/some-spam-karma-automation-in-python/#comment-36995</guid>
		<description><![CDATA[Why is Spam Karma 2 the single best?

I use Protect web forms captcha, I never get any spam.

K,]]></description>
		<content:encoded><![CDATA[<p>Why is Spam Karma 2 the single best?</p>
<p>I use Protect web forms captcha, I never get any spam.</p>
<p>K,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aaron</title>
		<link>http://pthree.org/2007/03/07/some-spam-karma-automation-in-python/#comment-36932</link>
		<dc:creator>Aaron</dc:creator>
		<pubDate>Thu, 08 Mar 2007 03:46:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.pthree.org/2007/03/07/some-spam-karma-automation-in-python/#comment-36932</guid>
		<description><![CDATA[Jeremy-  It does have that option, and I should specify it in the post.  Unfortunately, it sends the report inline in the email, and the layout is not friendly.  This script returns the query to a comma-separated file, from which I can view just as if I were looking at the database result itself.  And, the file is not emailed, but stored on a server.

MDL-  Yes.  Spam Karma 2 is much better than Akismet.  Akismet is good, but does not have &lt;b&gt;near&lt;/b&gt; the options that Spam Karma 2 does.  I think you&#039;ll be pleasantly surprised.]]></description>
		<content:encoded><![CDATA[<p>Jeremy-  It does have that option, and I should specify it in the post.  Unfortunately, it sends the report inline in the email, and the layout is not friendly.  This script returns the query to a comma-separated file, from which I can view just as if I were looking at the database result itself.  And, the file is not emailed, but stored on a server.</p>
<p>MDL-  Yes.  Spam Karma 2 is much better than Akismet.  Akismet is good, but does not have <b>near</b> the options that Spam Karma 2 does.  I think you&#8217;ll be pleasantly surprised.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MDL</title>
		<link>http://pthree.org/2007/03/07/some-spam-karma-automation-in-python/#comment-36931</link>
		<dc:creator>MDL</dc:creator>
		<pubDate>Thu, 08 Mar 2007 03:41:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.pthree.org/2007/03/07/some-spam-karma-automation-in-python/#comment-36931</guid>
		<description><![CDATA[Is Spam Karma better than Akismet?

Ever since I started using it (in place of challenge questions), my spam problem has been fairly minimal.

Granted, I don&#039;t have nearly the spam that you do...]]></description>
		<content:encoded><![CDATA[<p>Is Spam Karma better than Akismet?</p>
<p>Ever since I started using it (in place of challenge questions), my spam problem has been fairly minimal.</p>
<p>Granted, I don&#8217;t have nearly the spam that you do&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeremy</title>
		<link>http://pthree.org/2007/03/07/some-spam-karma-automation-in-python/#comment-36921</link>
		<dc:creator>Jeremy</dc:creator>
		<pubDate>Thu, 08 Mar 2007 02:50:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.pthree.org/2007/03/07/some-spam-karma-automation-in-python/#comment-36921</guid>
		<description><![CDATA[Doesn&#039;t Spam Karma 2 have a built-in spam digest plugin?]]></description>
		<content:encoded><![CDATA[<p>Doesn&#8217;t Spam Karma 2 have a built-in spam digest plugin?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
