Skip to content

Instantly share code, notes, and snippets.

View FarhanDazzler's full-sized avatar
🎯
Focusing

Farhan Dazzler FarhanDazzler

🎯
Focusing
View GitHub Profile
@Manav1918
Manav1918 / pdf2Word.py
Created August 6, 2019 20:33
This File is Source code of pdf to word / any text file format converter [GUI] app . This can extract text from pdf and read. then you can ave that text to any file format like word file,text file or python file.
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 == "":