Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # -*- coding: UTF-8 -*-
- '''
- Created on 2011.06.26.
- @author: julius
- '''
- from UserRepoWrapper import UserRepoWrapper
- from user_arrays import usernames, comment_dict
- from random import choice
- if __name__ == '__main__':
- usrepo = UserRepoWrapper(usernames, comment_dict)
- #print(comment_dict.values())
- #print(usrepo)
- for i in range(0,10):
- tags = [choice(list(comment_dict.keys())),choice(list(comment_dict.keys())),choice(list(comment_dict.keys()))]
- print(tags)
- resps = usrepo.getResponses(tags)
- print(resps)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement