Skip to content

Instantly share code, notes, and snippets.

View parched's full-sized avatar

James Duley parched

  • Christchurch, New Zealand
View GitHub Profile
@parched
parched / vscode-jupyter-setup.ps1
Last active November 2, 2022 08:27
Set up a directory for Jupyter notebook development with VS Code (Windows only)
# Set up the current directory for Jupyter notebooks in VS Code
# Windows 64-bit only
Write-Host "Installing required tools for current user"
$Downloads = (New-Object -ComObject Shell.Application).NameSpace('shell:Downloads').Self.Path
Get-Command -ErrorAction SilentlyContinue py | Out-Null
if ($?) { py -3.10 --version 2>&1> $null }
if (-Not $?) {