for waypoint in gpx.waypoints:
    print('waypoint {0} -> ({1},{2})'.format(waypoint.name, waypoint.
        latitude, waypoint.longitude))
for route in gpx.routes:
    pass
Как извлечь данные .gpx с помощью python