obj.body()
On 13 May 2015, Niels Dettenbach wrote:
> Am Mittwoch, 13. Mai 2015, 11:36:03 schrieb Rich Harley:
> > is returned. How can I access the actual contents of the Python Script?
> > The python script object seems a bit more complex then a DTML-Method object
> > -
> means you have to acc
Am Mittwoch, 13. Mai 2015, 11:36:03 schrieb Rich Harley:
> is returned. How can I access the actual contents of the Python Script?
The python script object seems a bit more complex then a DTML-Method object -
means you have to access the script content of the python script object
directly (not sh
When iterating over dtml objects, the contents of those scripts can be returned:
e.g.
for item in context.objectValues():
if item.meta_type=='DTML Method’:
print item
But when iterating over Python Scripts, only:
is returned. How can I access the actual contents of the Python Script?