<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Asktav - Latest Comments in Logrep: A Simple Apache Log Analysis Script</title><link>http://asktav.disqus.com/</link><description>Tav's Blog</description><atom:link href="https://asktav.disqus.com/logrep_a_simple_apache_log_analysis_script/latest.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Mon, 13 Jul 2009 12:23:14 -0000</lastBuildDate><item><title>Re: Logrep: A Simple Apache Log Analysis Script</title><link>http://www.asktav.com/logrep-a-simple-apache-log-analysis-script.html#comment-12582584</link><description>&lt;p&gt;@tavis: defaultdict is part of Python 2.5 and later -- you'd need to use a more recent version of Python with &lt;a href="http://logrep.py" rel="nofollow noopener" target="_blank" title="logrep.py"&gt;logrep.py&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">tav</dc:creator><pubDate>Mon, 13 Jul 2009 12:23:14 -0000</pubDate></item><item><title>Re: Logrep: A Simple Apache Log Analysis Script</title><link>http://www.asktav.com/logrep-a-simple-apache-log-analysis-script.html#comment-12481305</link><description>&lt;p&gt;don't work for me : &lt;br&gt;[ps9392]$ python &lt;a href="http://logrep.py" rel="nofollow noopener" target="_blank" title="logrep.py"&gt;logrep.py&lt;/a&gt; access.log.2009-07-08 -what -total&lt;br&gt;Traceback (most recent call last):&lt;br&gt;  File "&lt;a href="http://logrep.py" rel="nofollow noopener" target="_blank" title="logrep.py"&gt;logrep.py&lt;/a&gt;", line 27, in ?&lt;br&gt;    from collections import defaultdict&lt;br&gt;ImportError: cannot import name defaultdict&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">tavis</dc:creator><pubDate>Fri, 10 Jul 2009 18:57:22 -0000</pubDate></item><item><title>Re: Logrep: A Simple Apache Log Analysis Script</title><link>http://www.asktav.com/logrep-a-simple-apache-log-analysis-script.html#comment-7158085</link><description>&lt;p&gt;Hey Marius,&lt;/p&gt;&lt;p&gt;Because the format I use with single-dash followed by word and arbitrary parameters is rather cumbersome to do with optparse..&lt;/p&gt;&lt;p&gt;I do like optparse and have been using it since the days of Optik, so highly recommend it for any public facing projects.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">tav</dc:creator><pubDate>Thu, 12 Mar 2009 21:12:15 -0000</pubDate></item><item><title>Re: Logrep: A Simple Apache Log Analysis Script</title><link>http://www.asktav.com/logrep-a-simple-apache-log-analysis-script.html#comment-7157239</link><description>&lt;p&gt;Why didn't you use optparse or getopt but instead chose to implement command-line parsing manually?&lt;/p&gt;&lt;p&gt;(Personally, I'm rather unhappy that 'pydoc optparse' doesn't have an example right there in the module docstring.)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Marius Gedminas</dc:creator><pubDate>Thu, 12 Mar 2009 20:26:48 -0000</pubDate></item></channel></rss>