Tim Roberts wrote re using print to generate XML:
> def PrintAddress( last, first, address, city, state, zip ):
> print " "
> print "%s" % last
> print "%s" % first
> print "%s" % address
> print "%s" % city
> print "%s" % state
> print "%s" % zi
Tim Roberts wrote re using print to generate XML:
> def PrintAddress( last, first, address, city, state, zip ):
> print " "
> print "%s" % last
> print "%s" % first
> print "%s" % address
> print "%s" % city
> print "%s" % state
> print "%s" % zi
i have to put the XML in a string. Is there a module with the XML
writing funcion?
--
http://mail.python.org/mailman/listinfo/python-list
"Marco Meoni" <[EMAIL PROTECTED]> wrote:
>
>Could you post an example please?
Not really; it depends on what it is you're writing.
def PrintAddress( last, first, address, city, state, zip ):
print " "
print "%s" % last
print "%s" % first
print "%s" % address
prin
Could you post an example please?
Thanks!
--
http://mail.python.org/mailman/listinfo/python-list
"Marco Meoni" <[EMAIL PROTECTED]> wrote:
>
>Have you ever write an XML Writer in wxPython? A Writer that from a GUI
>can compose XML Files.
XML is usually pretty easy to write by hand, just using print statements.
Do you alreday have a tree of objects you want to write?
On 1/12/06, Marco Meoni <[EMAIL PROTECTED]> wrote:
> I'm building a GUI of a network manager that send its commands in xml files.
> I would can write xml files from GUI (that is in wxPython). Have you
> understand from my "spaghetti" english?
Yes, your English is fine. Much better than my Italian!
Have you ever write an XML Writer in wxPython? A Writer that from a GUI
can compose XML Files.
Thanks.
Marco.
--
http://mail.python.org/mailman/listinfo/python-list