Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from hashlib import md5
- email_binary=email.encode()
- email_md5=md5(email_binary)
- email_hash=email_md5.hexdigest()
- print('https://s.gravatar.com/avatar/{}'.format(email_hash))
Advertisement
Add Comment
Please, Sign In to add comment