<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Random Musings of an Insane Mind &#187; Python</title>
	<atom:link href="http://cd34.com/blog/tag/python/feed/" rel="self" type="application/rss+xml" />
	<link>http://cd34.com/blog</link>
	<description>This is my blog, there are many others like it but this one is mine.</description>
	<lastBuildDate>Thu, 02 Feb 2012 20:47:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Documenting projects as you write them</title>
		<link>http://cd34.com/blog/programming/python/documenting-projects-as-you-write-them/</link>
		<comments>http://cd34.com/blog/programming/python/documenting-projects-as-you-write-them/#comments</comments>
		<pubDate>Mon, 12 Dec 2011 17:54:15 +0000</pubDate>
		<dc:creator>cd34</dc:creator>
				<category><![CDATA[Python]]></category>
		<category><![CDATA[documentation]]></category>
		<category><![CDATA[pyramid]]></category>
		<category><![CDATA[sphinx]]></category>
		<category><![CDATA[sqlalchemy]]></category>

		<guid isPermaLink="false">http://cd34.com/blog/?p=1304</guid>
		<description><![CDATA[In Feb 2009 I started converting a PHP application over to Python and a framework. Today, I have finished all of the functional code and am at the point where I need to write a number of interfaces to the message daemon (currently a Perl script I wrote after ripping apart a C/libace daemon we [...]]]></description>
		<wfw:commentRss>http://cd34.com/blog/programming/python/documenting-projects-as-you-write-them/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Google+, Python, and mechanize</title>
		<link>http://cd34.com/blog/programming/python/google-python-and-mechanize/</link>
		<comments>http://cd34.com/blog/programming/python/google-python-and-mechanize/#comments</comments>
		<pubDate>Sun, 03 Jul 2011 19:23:39 +0000</pubDate>
		<dc:creator>cd34</dc:creator>
				<category><![CDATA[Python]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[mechanize]]></category>

		<guid isPermaLink="false">http://cd34.com/blog/?p=1202</guid>
		<description><![CDATA[Since Google+&#8217;s release, I&#8217;ve wanted access to an API. I&#8217;m told soon. I couldn&#8217;t wait. #!/usr/bin/env python import mechanize cj = mechanize.LWPCookieJar() cj.load("cookies.txt") br = mechanize.Browser() br.set_cookiejar(cj) br.set_handle_redirect(True) br.set_handle_referer(True) br.set_handle_robots(False) br.set_handle_refresh(mechanize._http.HTTPRefreshProcessor(), max_time=1) br.addheaders = [('User-agent', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.810.0 Safari/535.1 cd34/0.9b')] br.open('https://www.google.com/accounts/ServiceLogin?service=oz&#038;passive=1209600&#038;continue=https://plus.google.com/up/start/') br.select_form(nr=0) br.form.find_control("Email").readonly = False br.form['Email'] [...]]]></description>
		<wfw:commentRss>http://cd34.com/blog/programming/python/google-python-and-mechanize/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using FormEncode for validation with Colander and Deform</title>
		<link>http://cd34.com/blog/framework/using-formencode-for-validation-with-colander-and-deform/</link>
		<comments>http://cd34.com/blog/framework/using-formencode-for-validation-with-colander-and-deform/#comments</comments>
		<pubDate>Sun, 12 Dec 2010 06:45:19 +0000</pubDate>
		<dc:creator>cd34</dc:creator>
				<category><![CDATA[Framework]]></category>
		<category><![CDATA[colander]]></category>
		<category><![CDATA[deform]]></category>
		<category><![CDATA[formencode]]></category>
		<category><![CDATA[Python]]></category>

		<guid isPermaLink="false">http://cd34.com/blog/?p=1103</guid>
		<description><![CDATA[While working on a project, I ran across a number of emails that didn&#8217;t properly validate using Colander. Digging into Colander&#8217;s code, the regexp used was rather basic. Chris McDonough confirmed this and said he would welcome a newer regexp. However, FormEncode&#8217;s email validation also allows one to optionally check the DNS to see if [...]]]></description>
		<wfw:commentRss>http://cd34.com/blog/framework/using-formencode-for-validation-with-colander-and-deform/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AttributeError: &#8216;function&#8217; object has no attribute &#8216;replace&#8217;</title>
		<link>http://cd34.com/blog/framework/attributeerror-function-object-has-no-attribute-replace/</link>
		<comments>http://cd34.com/blog/framework/attributeerror-function-object-has-no-attribute-replace/#comments</comments>
		<pubDate>Wed, 30 Sep 2009 18:54:10 +0000</pubDate>
		<dc:creator>cd34</dc:creator>
				<category><![CDATA[Framework]]></category>
		<category><![CDATA[pylons]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[toscawidgets]]></category>
		<category><![CDATA[turbogears]]></category>

		<guid isPermaLink="false">http://cd34.com/blog/?p=778</guid>
		<description><![CDATA[While doing some coding to move a Turbogears2 application over to Pylons, I ran into an issue with Validation and ToscaWidgets. AttributeError: &#8216;function&#8217; object has no attribute &#8216;replace&#8217; Validation in Pylons listed: @validate(form=movie_form, error_handler=index) for the decorator syntax, but, error_handler should be a name, not a function. The correct decorator should be: @validate(form=movie_form, error_handler=&#8217;index&#8217;)]]></description>
		<wfw:commentRss>http://cd34.com/blog/framework/attributeerror-function-object-has-no-attribute-replace/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rapid Application Development using Turbogears and Django</title>
		<link>http://cd34.com/blog/framework/rapid-application-development-using-turbogears-and-django/</link>
		<comments>http://cd34.com/blog/framework/rapid-application-development-using-turbogears-and-django/#comments</comments>
		<pubDate>Sat, 08 Aug 2009 06:07:44 +0000</pubDate>
		<dc:creator>cd34</dc:creator>
				<category><![CDATA[Framework]]></category>
		<category><![CDATA[django]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[RAD]]></category>
		<category><![CDATA[rapid application development]]></category>
		<category><![CDATA[turbogears]]></category>

		<guid isPermaLink="false">http://cd34.com/blog/?p=737</guid>
		<description><![CDATA[For the last 14 months we&#8217;ve been developing an application to replace 90000 lines of PHP code. Rewriting the application from scratch to support I18N and many of the enhancements it needed was deemed to be a better long term solution. When that project was first started, I spent a month with Django and a [...]]]></description>
		<wfw:commentRss>http://cd34.com/blog/framework/rapid-application-development-using-turbogears-and-django/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>User Interface Design</title>
		<link>http://cd34.com/blog/infrastructure/user-interface-design/</link>
		<comments>http://cd34.com/blog/infrastructure/user-interface-design/#comments</comments>
		<pubDate>Wed, 24 Jun 2009 05:46:26 +0000</pubDate>
		<dc:creator>cd34</dc:creator>
				<category><![CDATA[Framework]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Web Infrastructure]]></category>
		<category><![CDATA[formencode]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[smarty]]></category>
		<category><![CDATA[sqlalchemy]]></category>
		<category><![CDATA[toscawidgets]]></category>
		<category><![CDATA[turbogears]]></category>

		<guid isPermaLink="false">http://cd34.com/blog/?p=676</guid>
		<description><![CDATA[Programmers are not designers. Technical people should not design User Interfaces. * 810 source files * 90658 lines of code * 10213 lines of html For an internal project tasked to a series of programmers throughout the years without enough oversight, it is a mass of undocumented code with multiple programming styles. PHP allowed lazy [...]]]></description>
		<wfw:commentRss>http://cd34.com/blog/infrastructure/user-interface-design/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IPhone SDK Emulator</title>
		<link>http://cd34.com/blog/iphone/iphone-sdk-emulator/</link>
		<comments>http://cd34.com/blog/iphone/iphone-sdk-emulator/#comments</comments>
		<pubDate>Mon, 15 Jun 2009 20:18:16 +0000</pubDate>
		<dc:creator>cd34</dc:creator>
				<category><![CDATA[IPhone]]></category>
		<category><![CDATA[cocoa]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://cd34.com/blog/?p=660</guid>
		<description><![CDATA[In the last few days, I&#8217;ve had a few projects come up that could have been interesting to develop on the IPhone. When the IPhone first came out, I signed up as a developer but never downloaded the SDK. Today, I took the time to download the SDK to test the emulator for the recent [...]]]></description>
		<wfw:commentRss>http://cd34.com/blog/iphone/iphone-sdk-emulator/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>RSA with Perl, PHP and Python</title>
		<link>http://cd34.com/blog/programming/rsa-with-perl-php-and-python/</link>
		<comments>http://cd34.com/blog/programming/rsa-with-perl-php-and-python/#comments</comments>
		<pubDate>Tue, 28 Apr 2009 16:18:35 +0000</pubDate>
		<dc:creator>cd34</dc:creator>
				<category><![CDATA[Programming Languages]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[rsa]]></category>

		<guid isPermaLink="false">http://cd34.com/blog/?p=635</guid>
		<description><![CDATA[Ages ago we had a system that used MySQL&#8217;s built in DES3 encryption. It made coding applications in multiple languages easy because we could send it a string with a key and it would be encoded in the database. It wasn&#8217;t secure if someone got hold of the code and the database, but, rather than [...]]]></description>
		<wfw:commentRss>http://cd34.com/blog/programming/rsa-with-perl-php-and-python/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Python, Perl and PHP interoperability with pack and unpack</title>
		<link>http://cd34.com/blog/programming/python/python-perl-and-php-interoperability-with-pack-and-unpack/</link>
		<comments>http://cd34.com/blog/programming/python/python-perl-and-php-interoperability-with-pack-and-unpack/#comments</comments>
		<pubDate>Mon, 27 Apr 2009 04:40:40 +0000</pubDate>
		<dc:creator>cd34</dc:creator>
				<category><![CDATA[Programming Languages]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[pack]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[unpack]]></category>

		<guid isPermaLink="false">http://cd34.com/blog/?p=629</guid>
		<description><![CDATA[Perl has very powerful capabilities for dealing with structures.  PHP&#8217;s support of those structures was based on Perl&#8217;s wisdom.  Python went a different direction. Perl pack/unpack definitions PING_FORMAT =&#62; &#8216;(a4n2N2N/a*)@245&#8242;; TASK_FORMAT =&#62; &#8216;a4NIN/a*a*&#8217;; RETR_FORMAT =&#62; &#8216;a4N/a*N&#8217;; ENCPAYLOAD_FORMAT =&#62; &#8216;Na*&#8217;; PHP pack/unpack definitions define(&#8216;TASK_FORMAT&#8217;, &#8216;a4NINa*a*&#8217;); define(&#8220;ENCPAYLOAD_FORMAT&#8221;,&#8217;Na*&#8217;); For a communications package written in perl that communicates with [...]]]></description>
		<wfw:commentRss>http://cd34.com/blog/programming/python/python-perl-and-php-interoperability-with-pack-and-unpack/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

