2026-05-22 15:28:08 +03:00

8 lines
140 B
Bash
Executable File

#!/bin/sh -eu
if [ -z "${*}" ] && [ -x "$(command -v ipython 2>/dev/null)" ]; then
ipython -i -c "q = exit"
else
python3 "${@}"
fi