On Tue, 23 Jul 2002, Thomas Grill wrote:
Hi thomas + list,
working with py, you will also have to define the function of the Python script to be called, for example
[py permute printList]
ah-ha!
Therefore, you could define another function
def printAll(v): printList(list(str(v)))
and then (with [py permute printAll]), try to send it numbers or symbols.
Since I'm only just learning Python, I'll go away and try that, and tell you what happened...
Also, your script function doesn't return any values to be printed by the pd print objects but it will rather output the permuted values to the console.
Erm, could you please point out how to get the permuted values back to pd and not the console?
I realise this may be a python (as opposed to pd) question. Sorry if it's OT.
Thanks for your help so far...
Cheers, dc
www.ariada.uea.ac.uk/~dcasal --)+