dotfiles/scripts/pycalc3

9 lines
224 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")/../script-resources/pycalc_startup.py" "$python" "$@"