79833200

Date: 2025-11-29 11:30:29
Score: 1
Natty:
Report link

Here is my .bat file to help run this. Works straight out of the box and with venv!

@echo off
REM Source https://stackoverflow.com/questions/69592796
REM Original by BeginnersMindTruly
REM Modified on 2025-11-29, License - CC BY-SA 4.0

set "PROJECT_DIR=C:\Users\bob\Dune\Jupyter Lab"
set "VENV_DIR=%PROJECT_DIR%\venv"

REM Check if Jupyter is already running on port 8888
netstat -ano | find ":8888" >nul
if %errorlevel% equ 0 (
    echo Jupyter Lab is already running on port 8888
    start http://localhost:8888
) else (
    cd /d "%PROJECT_DIR%"
    start /B "" "%VENV_DIR%\Scripts\pythonw.exe" -m jupyterlab --port=8888
)
Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: randomUser31965869