mirror of
https://github.com/keanuplayz/dotfiles.git
synced 2024-08-15 02:33:12 +00:00
10 lines
204 B
Bash
Executable file
10 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" "$@"
|