4 echo "Usage: compyle [-1] file.py..."
8 TEMPLATE="from py_compile import compile; compile('"
11 pgm=$TEMPLATE$file"')"
12 python"$PY_VER" -c "$pgm" || exit 1
13 python"$PY_VER" -OOc "$pgm" || exit 1
16 #pgm="$HOME/lib/python/com.py"
17 #python"$PY_VER" $pgm "$@" && python"$PY_VER" -O $pgm "$@"