This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import redis | |
| r = redis.StrictRedis(host='localhost', port=6379, db=0) | |
| # Create the completion sorted set | |
| if r.exists('compl') == False: | |
| print "Loading entries in the Redis DB\n" | |
| f = open('female-names.txt',"r") | |
| for line in f: | |
| n = line.strip() |
NewerOlder