Advertisement
Guest User

Untitled

a guest
Mar 3rd, 2013
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import random, os
  2.  
  3. emoticons = ["(finger) ",
  4.              "(bandit) ",
  5.              "(drunk) ",
  6.              "(ci) ",
  7.              "(toivo) ",
  8.              "(rock) ",
  9.              "(headbang) ",
  10.              "(bug) ",
  11.              "(fubar) ",
  12.              "(poolparty) ",
  13.              "(swear) ",
  14.              "(tmi) ",
  15.              "(heidy) ",
  16.              "(mooning) ",
  17. #These are skype 5 emoticons
  18. #They're commented out for the sake of everyone seeing them,
  19. #             "(h5) ",
  20. #             "(fail) ",
  21. #             "(yn) ",
  22. #             "(lala) ",
  23. #             "(forever) ",
  24. #             "(tumbleweed) ",
  25. #             "(wfh) ",
  26.             ":) ",
  27.             ":( ",
  28.             ":D ",
  29.             "8-) ",
  30.             ":o ",
  31.             ";( ",
  32.             "(sweat) ",
  33.             ":| ",
  34.             ":* ",
  35.             ":P ",
  36.             ":$ ",
  37.             ":^) ",
  38.             "(snooze) ",
  39.             "|( ",
  40.             "(inlove) ",
  41.             "(grin) ",
  42.             "(talk) ",
  43.             "(yawn) ",
  44.             "(puke) ",
  45.             "(doh) ",
  46.             ":@ ",
  47.             "(wasntme) ",
  48.             "(party) ",
  49.             ":S ",
  50.             "(mm) ",
  51.             "8-| ",
  52.             ":x ",
  53.             "(hi) ",
  54.             "(call) ",
  55.             "(devil) ",
  56.             "(angel) ",
  57.             "(envy) ",
  58.             "(wait) ",
  59.             "(bear) ",
  60.             "(makeup) ",
  61.             "(giggle) ",
  62.             "(clap) ",
  63.             "(think) ",
  64.             "(bow) ",
  65.             "(rofl) ",
  66.             "(whew) ",
  67.             "(happy) ",
  68.             "(smirk) ",
  69.             "(nod) ",
  70.             "(shake) ",
  71.             "(punch) ",
  72.             "(emo) ",
  73.             "(y) ",
  74.             "(n) ",
  75.             "(handshake) ",
  76.             "(skype) ",
  77.             "(h) ",
  78.             "(u) ",
  79.             "(e) ",
  80.             "(f) ",
  81.             "(rain) ",
  82.             "(sun) ",
  83.             "(o) ",
  84.             "(music) ",
  85.             "(~) ",
  86.             "(mp) ",
  87.             "(coffee) ",
  88.             "(pizza) ",
  89.             "(cash) ",
  90.             "(flex) ",
  91.             "(^) ",
  92.             "(beer) ",
  93.             "(d) ",
  94.             "(dance) ",
  95.             "(ninja) ",
  96.             "(*) "
  97. ]
  98. generatedFaces = []
  99. emotiCount = int(input("Enter a number of emoticions to generate: "))
  100.  
  101. for i in range(emotiCount):
  102.    face = random.randrange(len(emoticons))
  103.    generatedFaces += emoticons[face]
  104.  
  105. f = open("SkypeEmoticons.txt", "w")
  106. for face in generatedFaces:
  107.    f.write(face)
  108. f.close()
  109. print("\nThe output can be found in SkypeEmoticons.txt in the same directory as this program.")
  110. os.system("pause>nul")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement