Skip to content

Instantly share code, notes, and snippets.

@1kastner
1kastner / run_python_script_in_conda_env.bat
Last active October 13, 2024 09:33 — forked from maximlt/run_python_script_in_conda_env.bat
Run a Python script in a conda environment from a batch file
@ECHO OFF
SETLOCAL EnableDelayedExpansion
REM Insert your conda env here
SET CONDA_ENV=MY_DESIRED_CONDA_ENV
CALL :activate_conda_env
REM Insert your python script here