12 Mar
2007
12 Mar
'07
10:01 p.m.
Hi; I've written this PT: <span tal:define="batch here/quotes/objectValues; num python:len(batch)"> <p tal:replace="python:here.randomNumber(num)" /> </span> ...which calls this external method: import random def randomNumber(num): return random.random(num) ...and throws this error: Error Type: AttributeError Error Value: 'int' object has no attribute 'objectValues' Why? TIA, Tony ________________________________________________________________________ AOL now offers free email to everyone. Find out more about what's free from AOL at AOL.com.