Created
July 12, 2012 18:50
-
-
Save ralphbean/3100104 to your computer and use it in GitHub Desktop.
You guys are monsters!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/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