Clean up Python cache files
()
| 337 | |
| 338 | |
| 339 | def cleanup_cache(): |
| 340 | """Clean up Python cache files""" |
| 341 | try: |
| 342 | print("🧹 Cleaning up cache files...") |
| 343 | # Clean up __pycache__ directories |
| 344 | os.system('find . -type d -name "__pycache__" -exec rm -r {} + 2>/dev/null') |
| 345 | # Clean up .pyc files |
| 346 | os.system('find . -name "*.pyc" -delete 2>/dev/null') |
| 347 | print("✅ Cache cleanup completed") |
| 348 | except Exception as e: |
| 349 | print(f"⚠️ Cache cleanup failed: {e}") |
| 350 | |
| 351 | |
| 352 | def print_banner(): |