Field in SGML file
Eric Brunel
eric.brunel at pragmadev.com
Mon Nov 4 04:06:46 EST 2002
Peter Flynn wrote:
[snip]
> I don't know how you call external binaries from within Python, but you
> need to issue the command string
>
> nsgmls -cCATALOG [sgml-dec] filename
>From within Python:
nsgmlsOutput = os.popen("nsgmls -cCATALOG [sgml-dec] filename")
will do the trick. Use nsgmlsOutput just like a file opened for reading.
HTH
--
- Eric Brunel <eric.brunel at pragmadev.com> -
PragmaDev : Real Time Software Development Tools - http://www.pragmadev.com
More information about the Python-list
mailing list