import urllib, hashlib ... gravatar_url + = urllib.urlencode({ 'd' :default, 's' : str (size)}). If you use Python 3 try out libgravatar.
確定! 回上一頁