1dic = Converter(input_file='your_input.gpx').gpx_to_dictionary(latitude_key='latitude', longitude_key='longitude')
2# now you have a dictionary and can access the longitudes and latitudes values from the keys
3latitudes = dic['latitude']
4longitudes = dic['longitude']
5