$ pip install fastkml # Start working with the library $ python >>> from fastkml import kml >>> k = kml.KML()