[Zope] Executing Scripts in Zope

fritz steindl zope@floSoft.net
Fri, 7 Mar 2003 14:41:38 +0100


Am Freitag, 7. März 2003 14:20 erhalten:

> Now I've got following code:
>
>
> --------------------
> def ltoh(self):
>      """Compile TeX-File"""
>      import os
>      msg = os.system( 'latex2html /home/mas/test.tex' )
>      if msg == 0:
>          return 'Successfull'
>      else:
>          return 'Not Successfull'
>
> --------------------

seems to be a class method (self ?)

if not, call from a python scipt inside zope

print container.Itoh(param)
return printed


fritz
(-:fs)