Skip to content

Instantly share code, notes, and snippets.

@ralphbean
Created July 12, 2012 18:50
Show Gist options
  • Select an option

  • Save ralphbean/3100104 to your computer and use it in GitHub Desktop.

Select an option

Save ralphbean/3100104 to your computer and use it in GitHub Desktop.
You guys are monsters!
#!/usr/bin/env python
""" You guys are monsters! """
import fabulous.image
import tempfile
import urllib
import os
handle, filename = tempfile.mkstemp(suffix=".png")
urllib.urlretrieve(url="http://threebean.org/monsters.png", filename=filename)
print fabulous.image.Image(filename)
os.remove(filename)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment