Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import random, os
- emoticons = ["(finger) ",
- "(bandit) ",
- "(drunk) ",
- "(ci) ",
- "(toivo) ",
- "(rock) ",
- "(headbang) ",
- "(bug) ",
- "(fubar) ",
- "(poolparty) ",
- "(swear) ",
- "(tmi) ",
- "(heidy) ",
- "(mooning) ",
- #These are skype 5 emoticons
- #They're commented out for the sake of everyone seeing them,
- # "(h5) ",
- # "(fail) ",
- # "(yn) ",
- # "(lala) ",
- # "(forever) ",
- # "(tumbleweed) ",
- # "(wfh) ",
- ":) ",
- ":( ",
- ":D ",
- "8-) ",
- ":o ",
- ";( ",
- "(sweat) ",
- ":| ",
- ":* ",
- ":P ",
- ":$ ",
- ":^) ",
- "(snooze) ",
- "|( ",
- "(inlove) ",
- "(grin) ",
- "(talk) ",
- "(yawn) ",
- "(puke) ",
- "(doh) ",
- ":@ ",
- "(wasntme) ",
- "(party) ",
- ":S ",
- "(mm) ",
- "8-| ",
- ":x ",
- "(hi) ",
- "(call) ",
- "(devil) ",
- "(angel) ",
- "(envy) ",
- "(wait) ",
- "(bear) ",
- "(makeup) ",
- "(giggle) ",
- "(clap) ",
- "(think) ",
- "(bow) ",
- "(rofl) ",
- "(whew) ",
- "(happy) ",
- "(smirk) ",
- "(nod) ",
- "(shake) ",
- "(punch) ",
- "(emo) ",
- "(y) ",
- "(n) ",
- "(handshake) ",
- "(skype) ",
- "(h) ",
- "(u) ",
- "(e) ",
- "(f) ",
- "(rain) ",
- "(sun) ",
- "(o) ",
- "(music) ",
- "(~) ",
- "(mp) ",
- "(coffee) ",
- "(pizza) ",
- "(cash) ",
- "(flex) ",
- "(^) ",
- "(beer) ",
- "(d) ",
- "(dance) ",
- "(ninja) ",
- "(*) "
- ]
- generatedFaces = []
- emotiCount = int(input("Enter a number of emoticions to generate: "))
- for i in range(emotiCount):
- face = random.randrange(len(emoticons))
- generatedFaces += emoticons[face]
- f = open("SkypeEmoticons.txt", "w")
- for face in generatedFaces:
- f.write(face)
- f.close()
- print("\nThe output can be found in SkypeEmoticons.txt in the same directory as this program.")
- os.system("pause>nul")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement