Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
24 lines (20 sloc) 354 Bytes
param (
[Parameter(ValueFromRemainingArguments=$true)]
$Path
)
if(!$Path)
{
$notebook = Read-Host -Prompt "Insert the name of the notebook to convert"
}
else {
$notebook = $Path
}
$test = Test-Path($notebook)
if(!$test)
{
Write-Error "$notebook not found, exiting"
Exit
}
else {
jupyter nbconvert --to html $notebook
}
You can’t perform that action at this time.