Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from difflib import SequenceMatcher
- spybot = open("spybotsd160.exe", "rb").read()
- testuff = open("TestuffSetup.exe", "rb").read()
- s = SequenceMatcher(None, spybot, testuff)
- print s.find_longest_match(0, len(spybot), 0, len(testuff))
- @lcs = $tree->lcs;
- @lcs = $tree->lcs($min_len, $max_len);
- @lcs = $tree->longest_common_substrings;
Add Comment
Please, Sign In to add comment