This is a read-only archive. Find the latest Linux articles, documentation, and answers at the new Linux.com!

Linux.com

Fast, flexible, calculating from the command line

Posted by: Anonymous [ip: 87.127.117.246] on March 11, 2008 09:56 AM
if you are used to python syntax then this work quite well

alias pc='python -ic "from __future__ import division; from math import *"'

(put it in your .bashrc, start a new terminal, and type pc. CTRL+D to exit)

#

Return to Fast, flexible, calculating from the command line