Skip to content

Latest commit

 

History

History
 
 

Plagiarism Checker

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Description:

Here is Python Script which checks the Plagiarism between 2 files.

  • difflib: This module provides classes and functions for comparing sequences. It can be used for example, for comparing files, and can produce information about file differences in various formats, including HTML and context and unified diffs

  • SequenceMatcher: This is a class in difflib which compare the sequence of characters or elements btw files as long as they are hashable

Procedure to follow:

  • Import SequenceMatcher from difflib
  • Open text files in read mode
  • Pass required arguments in SequenceMatcher
  • Print the O/P in form of %

Sample Output:

For any queries please contact?