Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

PythonForWindows

Using Powershell on Jupyter Notebook on Python for Windows.

Installing on this script

Installations

.\WinPython.ps1 [Script Option(s)]

Script Options

  • PythonVersion
    Specify version of the Python for Windows.
    Mandatory: No
    Default: 3.13
    e.g.: .\WinPython.ps1 -PythonVersion 3.12

  • InstallPwsh7SDK
    This switch option will install Jupyter-PowerShellSDK.
    e.g.: .\Anaconda.ps1 -InstallPwsh7SDK

  • InstallDotnetInteractive
    This switch option will install .Net Interactive.
    e.g.: .\WinPython.ps1 -InstallDotnetInteractive

  • CleanupDownloadFiles
    This switch option will delete downloaded files after installations.
    e.g.: .\WinPython.ps1 -DoNotCleanupDownloadFiles

  • WorkingFolder [Folder Path]
    Specify the working folder in this script. Default: $PSScriptRoot (Same folder as this script)
    Mandatory: No
    e.g.: .\WinPython.ps1 -WorkingFolder C:\pathto\folder

Installation Example

Set-Location $env:HOMEPATH
Invoke-WebRequest -UseBasicParsing `
    -Uri https://github.com/sakaztk/pwsh-notebook/raw/master/PythonForWindows/PythonForWindows.ps1 `
    -OutFile .\PythonForWindows.ps1
Set-ExecutionPolicy Bypass -Scope Process -Force
.\PythonForWindows.ps1 -CleanupDownloadFiles -WorkingFolder $env:HOMEPATH -Verbose