suggestion_bot / clear_cache.ps1
Sanjay Ram A
Upload 52 files
75788a5 verified
Raw
History Blame Contribute Delete
599 Bytes
# PowerShell script to clear Python cache
Write-Host "Clearing Python cache..." -ForegroundColor Yellow
# Clear __pycache__ directories
Get-ChildItem -Path . -Recurse -Directory -Filter "__pycache__" | Remove-Item -Recurse -Force
Write-Host "โœ… Cleared __pycache__ directories" -ForegroundColor Green
# Clear .pyc files
Get-ChildItem -Path . -Recurse -File -Filter "*.pyc" | Remove-Item -Force
Write-Host "โœ… Cleared .pyc files" -ForegroundColor Green
Write-Host "`n๐ŸŽ‰ Cache cleared successfully!" -ForegroundColor Green
Write-Host "Now run: python main.py --mode all" -ForegroundColor Cyan