Skip to content

IonBoleac/compare-two-files

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Compare two files

This repo contains a simple python script that compares two files and prints the differences between them. There are some method to compare two files:

  • line-by-line comparison
  • hash-by-hash comparison
  • byte-by-byte comparison
  • csv-by-csv comparison

How to use

python compare.py file1 file2

or

python compare.py file1 file2 --method line

or

python compare.py file1 file2 -h

About

Compare two file if they are different

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages