Recent Posts

gPowered

gPowered

Return To Blog Listing

Tutorials on using Google Services and API's (Blogger, Gmail, Google Accounts, Ajax, Search, App, Base, Calendar, Code Search, Gdata, Gadgets, Gears, Maps, Mashups, News, Notebook, Search History, Sitemaps, GWT, Picasa) to power personal / commercial web

Search This Blog's Tags For:

Recent Posts Tagged With 'python'

  • Sneak some advanced logic into a Django template

    Posted on Thursday December 17th, 2009 at 11:04 in python, django

    I was adding on an app to a Django project at work where I was overriding an existing template but did not have access to the view that called that template. I was left in a scenario where I had the variables that the view was originally set up with...

  • Checking if a remote file exists in python

    Posted on Wednesday September 30th, 2009 at 14:51 in howto, python

    Normally, to check if a remote web file exists I would use urllib's getcode() but that is a 2.6 and newer feature.  In Python 2.5 its a little more interesting.  Thankfully, wget's spider command can help us out. from subprocess import Po...

  • Django 1.0 released!

    Posted on Thursday September 4th, 2008 at 20:00 in python

    No, you’re not hallucinating, it’s really here. NOW GO GET IT...

  • Python 2.6 and 3.0 Beta 1 Released.

    Posted on Thursday June 19th, 2008 at 17:28 in python

    Get them while they're hot! 2.6 3.0 Beta...

  • Update Google Talk status with Twitter

    Posted on Sunday March 30th, 2008 at 18:11 in python, gchat

    I've had this idea in my head for a while and just got it to work this morning. Basically you send a tweet from Twitter and this script runs, picks up your current twitter status, and if need be, updates your gChat status. I'm working on a service v...

  • Displaying what you read from Google Reader

    Posted on Thursday October 4th, 2007 at 21:04 in howto, python, reader

    I've been wanting to share what I subscribe to in Google Reader and using the functions I wrote I was able to do just that. Check out the article for the full run down on the unofficial Google Reader API. This is written in python but should be eas...

  • HOWTO: Getting the Numer of Diggs from Digg (Python)

    Posted on Wednesday August 29th, 2007 at 22:32 in python

    After 2 of my posts were on the Digg front page this morning (Thank you all very much to those that dugg them), I took my first look into the Digg API. I wanted a way to take a quick look to see how many Diggs certain stories were getting. In some...

  • HOWTO: Google Reader API Functions

    Posted on Wednesday August 22nd, 2007 at 21:57 in python, reader

    I've been wanting an API for Google reader since I started using it, and especially since i started gPowered so I could display a list of the feeds I read on the site. The official word on an API for reader is "It' coming in a few weeks," but that w...

  • HOWTO: Pulling Google Bookmarks with Python

    Posted on Saturday August 11th, 2007 at 16:22 in python, bookmarks, yui

    I love using Google Bookmarks (usually with the Google Toolbar) because it lets me get to my bookmarks at home on my laptop or desktop, at work, or anywhere. It's great. Now I'm using those bookmarks to power the links section of gPowered.net First...

  • Quick Docs Api Example (python)

    Posted on Thursday August 9th, 2007 at 22:04 in python, gdata, docs spreadsheets

    To use the gdata docs python client you need to upgrade to 1.0.7 or higher. First thing is to import the modules you'll need. import gdata.docs.service import gdata.docs Then, set up the usual authentication parameters for the client. gd_client =...

  • HOWTO: Displaying Blogger feeds with Python

    Posted on Wednesday July 18th, 2007 at 22:07 in python, gdata

    This first HOWTO is going to cover how I did the basic structure of the posts section of gPowered: pulling from blogger. The main functions we'll need are to show a range of posts, a single post, and a function to get the total number of posts that...