fork download
  1. # https://stackoverflow.com/questions/51706256/sending-emojis-with-seleniums-send-keys
  2. # https://e...content-available-to-author-only...a.org/wiki/Emoticons_(Unicode_block)
  3.  
  4. import random
  5.  
  6.  
  7. base = 0x1F600
  8. block = 0x1F64F - base
  9.  
  10. for emoji in range(6):
  11. print(chr(base+random.randint(0, block)))
  12.  
Success #stdin #stdout 0.02s 37056KB
stdin
Standard input is empty
stdout
😤
😷
😗
😝
😿
😃