This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from tkinter import * | |
from tkinter import filedialog | |
from tkinter.filedialog import askopenfilename,asksaveasfile | |
from PyPDF2 import PdfFileReader | |
#=================open file method====================== | |
def openFile(): | |
file = askopenfilename(defaultextension=".pdf", | |
filetypes=[("Pdf files","*.pdf")]) | |
if file == "": |