Mar-08-2018, 03:18 AM
I am trying to create a function that reads each line from a .txt file. After reading all lines it should write the md5 hash value of each line/word to a new output .txt file.
I know to read all lines is myfile = open("file.txt", "r") myfilewrite = open("file2.txt", "w")
I am having a hard time incorporating the 2. Thanks
I know to read all lines is myfile = open("file.txt", "r") myfilewrite = open("file2.txt", "w")
I am having a hard time incorporating the 2. Thanks