[Tutor] Basic ElementTree xml question

Phil phillor9 at gmail.com
Mon Feb 24 18:36:57 EST 2020


On 24/2/20 6:30 pm, Peter Otten wrote:
> wpt = ET.SubElement(gpx, "wpt", lat="-32.5", lon="137.7")

Thank you Peter, I had tried what I thought was every combination. What 
I didn't try was not including lat and lon within the inverted comas. I 
now see the error of my ways. And thank you for the link.

-- 

Regards,
Phil



More information about the Tutor mailing list