dotfiles/scripts/pycalc3
2019-10-29 17:40:29 +02:00

9 lines
204 B
Bash
Executable file

#!/bin/sh
for python in bpython python3; do
if python="$(command -v "$python")"; then
break
fi
done
echo "using Python '$python'"
PYTHONSTARTUP="$(dirname "$0")/pycalc_startup.py" "$python" "$@"