csev / py4e

Web site for www.py4e.com and source to the Python 3.0 textbook

Home Page:http://www.py4e.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Issue with the tracks.py

NDhingra01 opened this issue · comments

Greetings Dr Chuck @csev

So as I was trying to use tracks.py it ran good in the first attempt and when I ran it again it gave me this error

Traceback (most recent call last):
  File "D:\Python\tracks.py", line 53, in <module>
    stuff = ET.parse(fname)
  File "C:\Users\NDhingra\AppData\Local\Programs\Python\Python39\lib\xml\etree\ElementTree.py", line 1229, in parse
    tree.parse(source, parser)
  File "C:\Users\NDhingra\AppData\Local\Programs\Python\Python39\lib\xml\etree\ElementTree.py", line 580, in parse
    self._root = parser._parse_whole(source)
xml.etree.ElementTree.ParseError: not well-formed (invalid token): line 10, column 1

I used the exact same code with no changes
Thankyou 🙌🙏