2012-01-28 ■ 移転しました。 [python]短縮URLを展開する。 import sys import urllib2 URL = "http://t.co/lWhYkfyK" url = urllib2.urlopen(URL).geturl() print url