def rand_auth():
    print lineno() + " Looking for rand_li."
    rand_li = csv_lookup_markov_start.random_row_numbers(how_many_authors_chosen, file_len, filename)
    print lineno() + " Found rand_li."

    results = csv_lookup_markov_start.merge(rand_li, filename)
    to_merge_these = results[0]
    to_merge_these_titles = results[1]
    return to_merge_these, to_merge_these_titles
#
############declare the variables


file_len = ""
row_number = int()
toolbar_width = 40
result = ""
filename = args.csv_file_input
success = ""
how_many_authors = args.how_many_authors[0]
how_many_manifestos = args.how_many_manifestos[0]
how_many_authors_chosen = args.how_many_authors
file_len = csv_cleaner.file_len(filename)
how_many_manifestos = args.how_many_manifestos[0]
random_row_numbers = csv_lookup_markov_start.random_row_numbers(how_many_authors_chosen, file_len, filename)
directory = args.out_put_dir
randomized_auth = args.rand_auth
par_len = args.paragraph_word_length[0]

print "Random Auth:" + str(randomized_auth)
print "Words in paragraph:" + str(par_len)

##########get filename from the parser

print "File_Path :" + str(filename)

###############################make a directory to write to


######get the file length