14 lines
		
	
	
		
			392 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			392 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")"
 | 
						|
if [ -z "$NULIBDIR" -o "$NULIBDIR" != "$NULIBINIT" ]; then
 | 
						|
    # charger nulib si ce n'est pas déjà le cas
 | 
						|
    source "$scriptdir/load.sh"
 | 
						|
fi
 | 
						|
 | 
						|
DEFAULT_PYTHON=python2.7
 | 
						|
 | 
						|
#
 | 
						|
echo ">>> Shell Python pour nulib"
 | 
						|
exec "${PYTHON:-$DEFAULT_PYTHON}" -i -c "$(<"$scriptdir/pshell.py")"
 |