# Download and unpack winpython standalone distro Invoke-WebRequest -UseBasicParsing -OutFile winpy.exe -Uri https://github.com/winpython/winpython/releases/download/10.7.20240908final/Winpython64-3.12.6.0dot.exe Start-Process -FilePath 'C:\Program Files\7-Zip\7z.exe' -ArgumentList "x", "./winpy.exe" -Wait -NoNewWindow -PassThru # Install VS Code winget install --accept-package-agreements --accept-source-agreements vscode # Update PATH $env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User") # TODO: Automatically install python extensions # TODO: Automatically set python interpreter # Start VS Code Start-Process -FilePath '.\WPy64-31260\VS Code.exe' -ArgumentList "."