Sep-12-2017, 09:01 AM
Hey Python Programmers...
I try to write an script to read files with difflib writting an script like this:
know what the error is, but simply said... this script don't work.
What is wrong with my script. I write this script only to learn handle
with these functions or reather... i am in the learn fase of python.
Its only to learn use the difflib functions for training.
I do this to train my self in python programming.
Can anyone help me with my script, but whats wrong with this...
Thanks for helping, Jamie van Cadsand.
I try to write an script to read files with difflib writting an script like this:
import difflib file1 = open("File1.txt", "r") file2 = open("File2.txt", "r") result = difflib.SequenceMatcher(None, file1.read(), file2.read()) print(result)If i run my script, i get an error. This script don't work. I don't
know what the error is, but simply said... this script don't work.
What is wrong with my script. I write this script only to learn handle
with these functions or reather... i am in the learn fase of python.
Its only to learn use the difflib functions for training.
I do this to train my self in python programming.
Can anyone help me with my script, but whats wrong with this...
Thanks for helping, Jamie van Cadsand.