2025-11-05 22:17:50 +03:00

10 lines
145 B
Bash
Executable File

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