dotfiles/scripts/pycalc3

10 lines
204 B
Text
Raw Normal View History

2019-10-29 15:23:23 +00:00
#!/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" "$@"