Skip to content

Fardeen2903/PDFchecker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

PDFchecker

python code for simple program to check two pdf files for identical content

PDF File Checker

This is a simple Python program that checks if two PDF files are identical by comparing their SHA-1 hashes. The program allows users to upload two PDF files using a graphical interface and determines whether the files are the same or not.

Features

  • Upload two PDF files through a graphical file dialog.
  • The program compares the files by calculating their SHA-1 hashes.
  • Displays whether the files are identical or not.

Requirements

  • Python 3.x
  • tkinter (for the graphical file selection dialog, typically comes pre-installed with Python)

Installation

  1. Clone this repository to your local machine:

    git clone https://github.com/Fardeen2903/PDFchecker.git
  2. Navigate to the project directory:

    cd pdf-file-checker
  3. Run the script using Python:

    python pdfchecker.py
  4. Select two PDF files when prompted by the graphical file dialog.

Usage

  • When you run the program, a file dialog will prompt you to select the first PDF file.
  • After selecting the first file, the dialog will prompt you to select the second PDF file.
  • The program will then compare the files by their SHA-1 hash and print the result:
    • If the hashes are identical, it prints: "These files are identical."
    • If the hashes are different, it prints: "These files are not identical."

License

This project is licensed under the BSD 2-Clause License - see the LICENSE file for details.

About

python code for simple program to check two pdf files for identical content

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages