can you tell me how to use stdin?
"????????" <[email protected]>
| Newsgroups | gmane.comp.python.xml |
|---|---|
| Message-ID | <[email protected]> |
In the PyXml module,there is an example like this:
from xml.dom.ext.reader.Sax2 import FromXmlStream
doc = FromXmlStream(sys.stdin)
>From the example the argument of FromXmlStream is sys.stdin,
but now i have a xml file namede "test.xml",how can i redirect the
stdin to the file?
For a long time,i have been confused about stdin , can you give me
an example ? Thanks a bounch.
_______________________________________________
XML-SIG maillist - [email protected]
http://mail.python.org/mailman/listinfo/xml-sig