<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2-ppt DokuWiki" -->
<?xml-stylesheet href="http://stuffivelearned.org/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="http://stuffivelearned.org/feed.php">
        <title>StuffIveLearned.org programming:python</title>
        <description></description>
        <link>http://stuffivelearned.org/</link>
        <image rdf:resource="http://stuffivelearned.org/lib/images/favicon.ico" />
       <dc:date>2010-09-05T20:20:52-05:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="http://stuffivelearned.org/doku.php?id=programming:python:albumcoverdl&amp;rev=1273611572&amp;do=diff"/>
                <rdf:li rdf:resource="http://stuffivelearned.org/doku.php?id=programming:python:better_getpass&amp;rev=1279899483&amp;do=diff"/>
                <rdf:li rdf:resource="http://stuffivelearned.org/doku.php?id=programming:python:clcheck&amp;rev=1277826740&amp;do=diff"/>
                <rdf:li rdf:resource="http://stuffivelearned.org/doku.php?id=programming:python:dictdefence&amp;rev=1237312892&amp;do=diff"/>
                <rdf:li rdf:resource="http://stuffivelearned.org/doku.php?id=programming:python:fifologger&amp;rev=1229631832&amp;do=diff"/>
                <rdf:li rdf:resource="http://stuffivelearned.org/doku.php?id=programming:python:installpymilter&amp;rev=1244733901&amp;do=diff"/>
                <rdf:li rdf:resource="http://stuffivelearned.org/doku.php?id=programming:python:logging_syslog&amp;rev=1212679274&amp;do=diff"/>
                <rdf:li rdf:resource="http://stuffivelearned.org/doku.php?id=programming:python:pspackage&amp;rev=1209582044&amp;do=diff"/>
                <rdf:li rdf:resource="http://stuffivelearned.org/doku.php?id=programming:python:pyradix_search_all_patch&amp;rev=1215295851&amp;do=diff"/>
                <rdf:li rdf:resource="http://stuffivelearned.org/doku.php?id=programming:python:smtprelaytest&amp;rev=1199728605&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="http://stuffivelearned.org/lib/images/favicon.ico">
        <title>StuffIveLearned.org</title>
        <link>http://stuffivelearned.org/</link>
        <url>http://stuffivelearned.org/lib/images/favicon.ico</url>
    </image>
    <item rdf:about="http://stuffivelearned.org/doku.php?id=programming:python:albumcoverdl&amp;rev=1273611572&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-05-11T15:59:32-05:00</dc:date>
        <title>Album Art Cover Downloader</title>
        <link>http://stuffivelearned.org/doku.php?id=programming:python:albumcoverdl&amp;rev=1273611572&amp;do=diff</link>
        <description>Overview

This is just a simple script that will recursively download album art for your mp3 collection stored in an Artist/Album folder structure, or at the very least .../Album folder structure.  This script uses Amazon and it's product advertising api to get the art.  The script will recurse through your folder(s) and add a folder.jpg file at every leaf directory that it finds mp3s in.  Most players are smart enough to use this file for the album art.</description>
    </item>
    <item rdf:about="http://stuffivelearned.org/doku.php?id=programming:python:better_getpass&amp;rev=1279899483&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-07-23T10:38:03-05:00</dc:date>
        <title>A Better &quot;getpass()&quot; Function for Unix</title>
        <link>http://stuffivelearned.org/doku.php?id=programming:python:better_getpass&amp;rev=1279899483&amp;do=diff</link>
        <description>UPDATE

It looks like my version of getpass (using the tty) is actually the default in the standard library version of getpass as of python 2.6.  If you are using python 2.6 or greater, use the standard library version as it also falls back to stdin if using the tty fails.</description>
    </item>
    <item rdf:about="http://stuffivelearned.org/doku.php?id=programming:python:clcheck&amp;rev=1277826740&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-06-29T10:52:20-05:00</dc:date>
        <title>Craigslist Search and Notify Script</title>
        <link>http://stuffivelearned.org/doku.php?id=programming:python:clcheck&amp;rev=1277826740&amp;do=diff</link>
        <description>What is it?

A friend of mine asked me recently if I knew of a script that would perform a search on craigslist.org and send him an email when there were new results to his search.  He's always looking for oddball stuff and by the time he finds it on craigslist and emails/calls the person, the item is already gone.</description>
    </item>
    <item rdf:about="http://stuffivelearned.org/doku.php?id=programming:python:dictdefence&amp;rev=1237312892&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-03-17T13:01:32-05:00</dc:date>
        <title>DictDefence</title>
        <link>http://stuffivelearned.org/doku.php?id=programming:python:dictdefence&amp;rev=1237312892&amp;do=diff</link>
        <description>What is it?

DictDefence is program written in Python to stop dictionary attacks of all sorts.  It is based on the idea behind the Script Kiddie Defence Script, but is a much larger, more extensible project.  The basic idea behind DictDefence is the automated blocking of wp&gt;Script Kiddies that run dictionary based attacks on your servers.  For all you systems administrators out there, I'm sure you all have seen the lines in your logs where it is a long listing of some IP trying to log in with a …</description>
    </item>
    <item rdf:about="http://stuffivelearned.org/doku.php?id=programming:python:fifologger&amp;rev=1229631832&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2008-12-18T14:23:52-05:00</dc:date>
        <title>Fifologger package</title>
        <link>http://stuffivelearned.org/doku.php?id=programming:python:fifologger&amp;rev=1229631832&amp;do=diff</link>
        <description>What is it?

The fifologger is a simple package you can use to log messages to a FIFO under a *nix operating system.  It's a basically a simple convenience class that takes the messy parts of connecting to the “write end” of a FIFO and logging to it.  This is quite handy if you want to connect and see what is happening with output from your script at different times, particularly with something you've daemonized, but you don't want to deal with logging to an actual file and you don't really care…</description>
    </item>
    <item rdf:about="http://stuffivelearned.org/doku.php?id=programming:python:installpymilter&amp;rev=1244733901&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-06-11T10:25:01-05:00</dc:date>
        <title>Installing Python Milter</title>
        <link>http://stuffivelearned.org/doku.php?id=programming:python:installpymilter&amp;rev=1244733901&amp;do=diff</link>
        <description>Intro

Since I ran into a couple of minor hangups with this, I figured I would pass along a little info to help out anyone who also ran into snags getting this working.  I have to say, the Python Milter module put together by Jim Niemira and Stuart D. Gathman is really quite good once you get it up and running.</description>
    </item>
    <item rdf:about="http://stuffivelearned.org/doku.php?id=programming:python:logging_syslog&amp;rev=1212679274&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2008-06-05T10:21:14-05:00</dc:date>
        <title>logging.handlers.SysLogHandler</title>
        <link>http://stuffivelearned.org/doku.php?id=programming:python:logging_syslog&amp;rev=1212679274&amp;do=diff</link>
        <description>I was poking around in the python documentation the other day and discovered the logging module.  I have to say that it is quite the cool module.  It takes all the work out of putting together a logger, and it does it really well.  I perused the documentation and checked out some examples, but I couldn't quite get it figured out well enough to work with it's SysLogHandler, which is usually my preferred method of logging.  I did, however, find this nice little example that works perfectly:</description>
    </item>
    <item rdf:about="http://stuffivelearned.org/doku.php?id=programming:python:pspackage&amp;rev=1209582044&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2008-04-30T14:00:44-05:00</dc:date>
        <title>PS Package</title>
        <link>http://stuffivelearned.org/doku.php?id=programming:python:pspackage&amp;rev=1209582044&amp;do=diff</link>
        <description>What is it?

The ps package is a couple of simple classes I created to wrap a system call to /bin/ps on a *nix machine.  This will parse the output of that call and give you an easy to use object that has some simple accessor functions for finding what you want in the ps output or by letting you iterate over the object itself and accessing the information for each running process.</description>
    </item>
    <item rdf:about="http://stuffivelearned.org/doku.php?id=programming:python:pyradix_search_all_patch&amp;rev=1215295851&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2008-07-05T17:10:51-05:00</dc:date>
        <title>py-radix search_all_containing patch</title>
        <link>http://stuffivelearned.org/doku.php?id=programming:python:pyradix_search_all_patch&amp;rev=1215295851&amp;do=diff</link>
        <description>What it is

py-radix is a python library written to handle lookups for IPv4 and IPv6 addresses and is basically the equivalent of Dave Plonka's Perl Net::Patricia module.  See the first link for the official py-radix page, which contains more information.</description>
    </item>
    <item rdf:about="http://stuffivelearned.org/doku.php?id=programming:python:smtprelaytest&amp;rev=1199728605&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2008-01-07T11:56:45-05:00</dc:date>
        <title>SMTPRelayTest</title>
        <link>http://stuffivelearned.org/doku.php?id=programming:python:smtprelaytest&amp;rev=1199728605&amp;do=diff</link>
        <description>What is it?

smtprelaytest.py is a simple script to be run from the command-line that will test a mail server to see if it is an open relay.  It will output color coded responses from the mail server as it just simply tests whether or not you can relay mail given the specified HELO name, sender and recipient.  It also supports this test using STARTTLS.  This is basically just a shortcut to using wp&gt;netcat or wp&gt;telnet.</description>
    </item>
</rdf:RDF>
