Files
python-uncompyle6/test_one
2012-06-05 10:46:41 +02:00

17 lines
278 B
Bash
Executable File

#!/bin/sh
file=$1
shift
options=$@
BASEDIR=test/bytecode_2.6
#BASEDIR=test/bytecode_2.0
#BASEDIR=test/bytecode_2.1
#BASEDIR=test/bytecode_2.2
if [ `dirname $file` == '.' ] ; then
file=$BASEDIR/test_$file.pyc
fi
python2.7 -u ./scripts/uncompyle $options $file 2>&1 |less