Error: No such  file or directory
Question: I am trying to extract data from a XML file with python. I tried the following
code.

    
    
    from xml.etree.ElementTree import ElementTree
     tree = ElementTree()
    tree.parse("data_v2.xml")
    

Error message:

    
    
    IOError: [Errno 2] No such file or directory: 'data_v2.xml'.
    


Answer: This is not XML error. This means that `data_v2.xml` does not exist -- system
(operation system) cannot find it. Maybe this name is wrong, maybe you need to
provide full path.

