Advertisement
Guest User

Untitled

a guest
Sep 21st, 2017
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.56 KB | None | 0 0
  1. # -*- coding: UTF-8 -*-
  2. '''
  3. Created on 2011.06.26.
  4.  
  5. @author: julius
  6. '''
  7.  
  8. from UserRepoWrapper import UserRepoWrapper
  9. from user_arrays import usernames, comment_dict
  10. from random import choice
  11.  
  12. if __name__ == '__main__':
  13.     usrepo = UserRepoWrapper(usernames, comment_dict)
  14.    
  15.     #print(comment_dict.values())
  16.     #print(usrepo)
  17.     for i in range(0,10):
  18.         tags = [choice(list(comment_dict.keys())),choice(list(comment_dict.keys())),choice(list(comment_dict.keys()))]
  19.         print(tags)
  20.         resps = usrepo.getResponses(tags)
  21.         print(resps)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement