Each Python file handles a specific responsibility (scraping, table extraction, export, PDF handling, UI, etc.), making the system modular and scalable.