from PIL import Image, ImageDraw
img = Image.new('RGBA', (100, 100))
draw = ImageDraw.Draw(img)
draw.ellipse((25, 25, 75, 75), fill=(255, 0, 0))
img.save('test.gif', 'GIF', transparency=0)
How to CREATE a transparent gif (or png) with PIL (python-imaging)