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'"
|
2019-12-07 09:18:55 +00:00
|
|
|
PYTHONSTARTUP="$(dirname "$0")/../script-resources/pycalc_startup.py" "$python" "$@"
|