Twitter2flickr is a project mainly written in Python, it's free.
image upload service from Twitter on iPhone to Flickr using Google AppEngine
This document outlines how to setup the twitter2flickr webapp.