random unicode emoji py
v2.8
Ein einfaches Python -Paket, das zufällige Unicode -Emojis zurückgibt. ?
Wie dieses Repo? Gib es auf GitHub!
Installieren Sie das Paket:
pip install random-unicode-emojiKeine Abhängigkeiten!
Verwenden Sie das Paket:
# Import the Library
from random_unicode_emoji import random_emoji
# Use the Function
print ( random_emoji ())
# Return Specific Count
print ( random_emoji ( count = 3 ))
# Use Specific Version
print ( random_emoji ( version = "15.0" ))
# Append Custom Emoji
print ( random_emoji ( custom = [ '(° ͜ʖ ͡°)' , '(╯°□°)╯︵ ┻━┻' ]))
# All Together Now
print ( random_emoji ( 3 , 15 , [ '(° ͜ʖ ͡°)' , '(╯°□°)╯︵ ┻━┻' ]))Aktualisieren Sie das Paket auf die neueste Version:
pip install random-unicode-emoji -UVerwendet Unicode Standard Emoji von unicode.org
4.0, 5.0, 11.0, 12,0, 12,1, 13,0, 13,1, 14,0, 15,0 (neuestes)
Verwendet die neueste Version standardmäßig.
Das ist der Python? Version. Es gibt auch eine JavaScript- und Rost -Version.
Nic Jones, (@nicpwns)
Ursprünglich inspiriert von randomemoji.py