Kml file with python

Hello guys,

I need your help with a small task.

I have generated many coordinates of a line on GoogleEarth using python and I saved the file, now when I try to open it in Goggle earth, it keeps showing (working …) and the file never opens. Do you guys have any idea what might be wrong?

also when I open the kml file that’s what I see in it (<?xml version="1.0" encoding="UTF-8"?>
) Does this mean that all the coordinates are included or they are not saved?

Thank you everyoe for your support.

<?xml version="1.0" encoding="UTF-8"?>
            <kml xmlns="http://www.opengis.net/kml/2.2"></kml>