Python calculator - Implicit math module
You can use
from math import *
to import all constants and functions from the math module into your global scope.
if [ $ARGS -eq 1 ]; then
eqn="$1"
python -c "from math import *; b=$eqn; print str(b)"
fi
$ pc "pi*(2**2)"
12.5663706144
Excellent! Thanks!