13 lines
368 B
Bash
Executable File
13 lines
368 B
Bash
Executable File
#!/bin/bash
|
|
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
|
|
if [ -z "$NULIBDIR" -o "$NULIBDIR" != "$NULIBINIT" ]; then
|
|
# charger nulib si ce n'est pas déjà le cas
|
|
source "$(dirname -- "$0")/../load.sh"
|
|
fi
|
|
|
|
DEFAULT_PYTHON=python2.7
|
|
|
|
#
|
|
echo ">>> Shell Python pour nulib"
|
|
exec "${PYTHON:-$DEFAULT_PYTHON}" -i -c "$(<"$MYDIR/pshell.py")"
|