[Zope] problem calling a Python external method in a folder from
a DTML method
Jim Anderson
ezjab at ieee.org
Wed Mar 10 11:22:56 EST 2004
Chris Withers wrote:
> Jim Anderson wrote:
>
>> of the directory in which the DTML resides. The method,
>> 'M', is in an external module 'M.py', so the path from
>
>
> The code from M.py would be handy. Can it returtn a blank string in
> any circumstances?
>
> cheers,
>
> Chris
>
Chris,
No, it always returns a string. M.py is as follows:
def M():
return("M module")
Jim
More information about the Zope
mailing list