Post

Visualizzazione dei post da gennaio, 2026

Tesseract Translator

 import subprocess import sys import os import platform import tkinter as tk from tkinter import messagebox from pathlib import Path # Check if we're running as compiled exe IS_COMPILED = getattr(sys, 'frozen', False) def create_installer_batch():     """     Create a batch file to install all dependencies     """     batch_content = """@echo off echo ============================================================ echo SCREEN TRANSLATOR - DEPENDENCY INSTALLER echo ============================================================ echo. echo This script will install the required dependencies. echo Please wait... echo. echo [1/3] Installing Python packages... python -m pip install --upgrade pip python -m pip install Pillow pystray keyboard pytesseract requests deep-translator if %errorlevel% neq 0 (     echo.     echo ERROR: Failed to install Python packages.     echo Please make sure Python is installed and added to PATH. ...

Auto Copy Folder - Source Code

 import tkinter as tk from tkinter import ttk, filedialog, messagebox, scrolledtext import shutil import threading import time import json import os from datetime import datetime, timedelta import pystray from PIL import Image, ImageDraw import sys import winshell from win32com.client import Dispatch import keyboard import subprocess class FolderCopierTool:     def __init__(self, root):         self.root = root         self.root.title('Folder Copier Tool')         self.root.geometry('1200x900')         self.root.resizable(True, True)                  # Copy Configuration variables         self.copy_pairs = []         self.timer_running = False         self.interval = 5         self.show_notifications = False         self.disable_logging = False  ...