-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.py
More file actions
46 lines (33 loc) · 667 Bytes
/
main.py
File metadata and controls
46 lines (33 loc) · 667 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# -*- coding: utf-8 -*-
"""
Simple Text Extractor - Version 1.0
Copyright © Gaëtan Sencie 2025
Tous droits réservés.
"""
import tkinter as tk
from tkinter import filedialog, messagebox, ttk
import os
import sys
import shutil
import multiprocessing
import threading
import logging
import queue
import re
import time
import tempfile
import subprocess
from pathlib import Path
import contextlib
import traceback
import webbrowser
# NOUVEAUX IMPORTS REQUIS
try:
import pypdfium2 as pdfium
except ImportError:
pdfium = None
CODE SOUS LICENCE
if __name__ == "__main__":
multiprocessing.freeze_support()
app = OCRApp()
app.mainloop()