Re: "Strong typing vs. strong testing"

2010-10-11 Thread Vic Kelson
On Sep 28, 10:55 am, Tim Bradshaw wrote: > There's a large existing body of knowledge on dimensional analysis > (it's a very important tool for physics, for instance), and obviously > the answer is to do whatever it does.  Raising to any power is fine, I > think (but transcendental functions, for

Re: A different kind of interface

2009-01-22 Thread Vic Kelson
How about IDLE? It's a nice tool for the Python programmer. I've tried lots of IDEs, but when it comes down to it, on small-to-medium jobs I am be very productive indeed using IDLE... --v -- http://mail.python.org/mailman/listinfo/python-list

Re: python list/array question...

2006-07-06 Thread Vic . Kelson
Another way to do it is using a dict with keys that are tuples: >>> arr = {} >>> arr[0,0] = 'a1' >>> arr[0,1] = 'a2' >>> arr[1,0] = 'b1' >>> arr[1,1] = 'b2' >>> arr[2,0] = 'c1' >>> arr[2,1] = 'c2' >>> for j in range(3): ... for i in range(2): ... print arr[j,i], ' ', ... print ...