Image resizing on file uploads. Doing it the easy way.

Posted by: barbara | Date: Jan 13, 2010 | Category: django python | Comments: 14

Let me start with this proviso: Math is not my strong subject (okay, just stop right there with the Barbie jokes). I'll do just about anything to avoid writing complex equations. And most of the time, I don't have to. Most of the time, I can find alternative solutions, dependent ...

Read More

cElementTree ftw!

Posted by: barbara | Date: Jan 07, 2010 | Category: python | Comments: 11

My mission was simple - to crawl all of our artist databases, extract names and email addresses from a couple of different tables, and spin out some custom XML.

The tables - one for complete user profiles and another for users who have signed up to receive emails only - ...

Read More

New Year's Python meme

Posted by: barbara | Date: Jan 05, 2010 | Category: python | Comments: 1

A few days too late ...

  1. What's the coolest Python application, framework or library you have discovered in 2009?
  2. PIL. Okay, maybe it wasn't exactly a new discovery, but I'd never used it before to the extent that I did in the last quarter of 2009, and ...

    Read More

Image Resizing with Python and ImageMagick (bleh)

Posted by: barbara | Date: Dec 11, 2009 | Category: python | Comments: 4

Let me first give a little background on this project, and then I'll break down the script.

I'm working with a legacy image handling system that's more than a little convoluted. Source images for different music artists are uploaded through a multi-tenant CMS to a media server, to a DAV-enabled ...

Read More

My Picks for PyCon 2010

Posted by: barbara | Date: Dec 09, 2009 | Category: pycon python | Comments: 2

Following the lead of Catherine Devlin, Jesse Noller, and other Python bloggers, I've finally had a chance to comb through the list of talks for PyCon 2010 and come up with a few picks of my own. It goes without saying that I'll probably change my mind ...

Read More