<?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>Tekipad Nuggets &#187; python</title>
	<atom:link href="http://www.tekipad.com/blog/tag/python/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tekipad.com/blog</link>
	<description>when the bits settle</description>
	<lastBuildDate>Sun, 13 Jun 2010 09:58:46 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Python script to get links from yahoo search</title>
		<link>http://www.tekipad.com/blog/2009/09/21/python-script-to-get-links-from-yahoo-search/</link>
		<comments>http://www.tekipad.com/blog/2009/09/21/python-script-to-get-links-from-yahoo-search/#comments</comments>
		<pubDate>Mon, 21 Sep 2009 11:03:11 +0000</pubDate>
		<dc:creator>Gray Dot</dc:creator>
				<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[boss]]></category>
		<category><![CDATA[link extraction]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[seo]]></category>
		<category><![CDATA[url]]></category>
		<category><![CDATA[yahoo search]]></category>

		<guid isPermaLink="false">http://www.tekipad.com/blog/?p=169</guid>
		<description><![CDATA[





This was a quick script I made to pull links from yahoo search using the boss search api, and then list the unique domains. 
If you want the entire links, just modify so that the whole links are appended to the list. Yahoo does not allow to get all the results, but only a certain [...]]]></description>
		<wfw:commentRss>http://www.tekipad.com/blog/2009/09/21/python-script-to-get-links-from-yahoo-search/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Python script to get addresses from google maps</title>
		<link>http://www.tekipad.com/blog/2009/08/12/python-script-to-get-addresses-from-google-maps/</link>
		<comments>http://www.tekipad.com/blog/2009/08/12/python-script-to-get-addresses-from-google-maps/#comments</comments>
		<pubDate>Wed, 12 Aug 2009 09:28:56 +0000</pubDate>
		<dc:creator>Gray Dot</dc:creator>
				<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[google maps]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[urllib]]></category>

		<guid isPermaLink="false">http://www.tekipad.com/blog/?p=155</guid>
		<description><![CDATA[





A simple python script to get addresses of businesses in a city. Just a quick demo for a client I wrote in an hour.
import urllib;
def getdata(idstr, matchstr):
	matchstrlen=len(matchstr)
line=idstr[idstr.find(matchstr,0)+matchstrlen:idstr.find("\"",idstr.find(matchstr,0)+matchstrlen)]
	return line
url="http://maps.google.ca/maps"
data="f=q&#38;source=s_q&#38;output=js&#38;hl=en&#38;geocode="
location="&#38;q=" + urllib.quote("airport loc: New Delhi, India") + "&#38;btnG=" + urllib.quote("Search Maps")

fp=urllib.urlopen(url + "?" + data + location)
filecontents=''
for line in fp.readlines():
	filecontents=filecontents + line
morecontent=True
startloc=0
while morecontent==True:
	startpos=filecontents.find("id:", startloc)
	if startpos&#62;-1:
		endpos=filecontents.find("}}}", startpos)
		if endpos&#62;-1:
			startloc=endpos+1
			section=filecontents[startpos:endpos]
			sxti=getdata(section, [...]]]></description>
		<wfw:commentRss>http://www.tekipad.com/blog/2009/08/12/python-script-to-get-addresses-from-google-maps/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Solving Error with bzr in debian etch. PathNotChild Stack Trace</title>
		<link>http://www.tekipad.com/blog/2009/01/24/solving-error-with-bzr-in-debian-etch-pathnotchild-stack-trace/</link>
		<comments>http://www.tekipad.com/blog/2009/01/24/solving-error-with-bzr-in-debian-etch-pathnotchild-stack-trace/#comments</comments>
		<pubDate>Sun, 25 Jan 2009 01:14:00 +0000</pubDate>
		<dc:creator>Gray Dot</dc:creator>
				<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[Bazaar]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Launchpad]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://www.tekipad.com/blog/?p=43</guid>
		<description><![CDATA[





I installed bazaar on my debian box in order to host the &#8216;Leave Status Board&#8217; Project on launch pad. Following the instructions to init, add, commit worked fine. But on trying to push to the launchpad account, (had to add the RSA public key to Launchpad first) I got a whole bunch of python errors, [...]]]></description>
		<wfw:commentRss>http://www.tekipad.com/blog/2009/01/24/solving-error-with-bzr-in-debian-etch-pathnotchild-stack-trace/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Getting Skype to work on Debian Etch</title>
		<link>http://www.tekipad.com/blog/2008/03/15/getting-skype-to-work-on-debian-etch/</link>
		<comments>http://www.tekipad.com/blog/2008/03/15/getting-skype-to-work-on-debian-etch/#comments</comments>
		<pubDate>Sat, 15 Mar 2008 20:12:00 +0000</pubDate>
		<dc:creator>Gray Dot</dc:creator>
				<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Dpkg]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://www.tekipad.com/blog/?p=23</guid>
		<description><![CDATA[I was having some trouble getting the new skype 2.0 to work on my system for testing. I downloaded the package from http://www.skype.com/go/getskype-linux-deb and downloaded file was skype-debian_2.0.0.63-1_i386.deb.
Double clicking on the file just opened up gdebi which closed again.
Running from the terminal, gdebi crashes with the following error.Traceback (most recent call last):  File &#8220;/usr/bin/gdebi&#8221;, [...]]]></description>
		<wfw:commentRss>http://www.tekipad.com/blog/2008/03/15/getting-skype-to-work-on-debian-etch/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
