nutools/lib/pyulib/devel/pyshell

11 lines
289 B
Plaintext
Raw Permalink Normal View History

2013-08-27 15:14:44 +04:00
#!/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")"