Hi all, I wrote an external method which compiles a TeX-Source with latex2html. It's very simple... it only calls the command with os.system('latex2html /path/to/uploaded_files/%s' %file.filename) This command causes an output like "This is latex2html version..." and so on. Now I want to give out this Output in a Textarea on a zope site. Is this possible in a way? I tried to do that with the return value but it didn't work... any ideas? System: SuSE linux, zope 2.6.1 Thanks a lot mas
Sorin Marti wrote:
Hi all,
I wrote an external method which compiles a TeX-Source with latex2html. It's very simple... it only calls the command with
os.system('latex2html /path/to/uploaded_files/%s' %file.filename)
This command causes an output like "This is latex2html version..." and so on.
Now I want to give out this Output in a Textarea on a zope site. Is this possible in a way? I tried to do that with the return value but it didn't work...
You may wish to consult the python documentation about the os.popen functions. They can return stdin, stderr, stdout, etc. -- Jim Washington
participants (2)
-
Jim Washington -
Sorin Marti