def user(): f = [ x.replace('\n','') for x in linecache.getlines('doc/user.txt')] random_int = random.randint(0, len(f)-1) return f[random_int]