File size: 599 Bytes
75788a5
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# 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