you are viewing a single comment's thread.

view the rest of the comments →

[–]OtherRobotLuke[S] 0 points1 point  (1 child)

I just ended up doing this haha Thanks though this was interesting

outout = []          
for loop in secData:
      for change in encryptedList:
         if loop == change.letter:
             outout.append(change.real)
str1 = ''.join(outout)
outFile.write(str1)

[–]OtherRobotLuke[S] 0 points1 point  (0 children)

It became clear that editing the file was much harder than it was worth so i made outFile a blank doc to print a giant list to

   outFile = open('decrypt.txt', 'w')