nutools/pyulib/devel/pyshell

11 lines
289 B
Bash
Executable File

#!/bin/bash
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
scriptdir="$(dirname "$0")"
source "./python_interpreters"
eval "$("$scriptdir/spp" -P)"
echo ">>> Shell Python pour pyulib"
pythonver="python$1"
exec "${!pythonver}" -i -c "$(<"$scriptdir/shell_init")"