exec "$python" $extra_arg "$xpy" "$@"
fi
done
+
+python=$(bash -c "compgen -c python" | grep '^python[2-3]\.[0-9]\+$' | head -n1)
+if ! [ "$python" = "" ]; then
+ exec "$python" "$xpy" "$@"
+fi
+
echo "$0: error: did not find python installed" >&2
exit 1