10 lines
145 B
Bash
Executable File
10 lines
145 B
Bash
Executable File
#!/bin/sh
|
|
set -eu
|
|
|
|
|
|
if [ -z "${*}" ] && [ -x "$(command -v ipython 2>/dev/null)" ]; then
|
|
ipython -i -c "q = exit"
|
|
else
|
|
python3 "${@}"
|
|
fi
|