On Dec 8, 2004, at 17:01, Dick Moores wrote:
I got this error msg for this line of code:
n = -(2(a**3.0)/27.0 - a*b/3.0 + c)
(where a = 1, b = 2, c = 3)
And was baffled until I realized the line should be
n = -(2*(a**3.0)/27.0 - a*b/3.0 + c)
But I still don't understand what callable means. Can
A callable is something that can be called with functional notation. It can be a function, a class,
or in some cases a class instance. In general, any object that has a __call__() special method is
callable. The callable() built-in tells you if an object is callable, though you can also just try
Terry Carroll schrieb:
On Mon, 6 Dec 2004, Chad Crabtree wrote:
Bob Gailer wrote:
For grins I just wrote one that takes '1 2.3 - 3 4 5 + * /' as
input
and prints -0.0481481 8 lines of Python. That indeed is less
than
100. Took about 7 minutes to code and
At 02:51 PM 12/8/2004, kumar s wrote:
Dear group,
I have two tables:
First table: spot_cor:
432 117
499 631
10 0
326 83
62 197
0 0
37 551
Second table: spot_int
0 0 98
1 0 5470
2 0 113
3 0 5240
4 0 82.5
Traceback: usual bit about in module..
Line 39: seg=codeSt[element:endInd+len(endStr]
MemoryError
Hehe. Helpful, no?
Sometimes seeing the whole traceback gives clues as
to whats throwing the wobbly, without the full stack
its hard to tell.
However before worrying about that I'd add a
I was wondering were can I find some Vpython graphics program codes that are
readily available.
___
Tutor maillist - [EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/tutor