from geopy.geocoders import Nominatim
import webbrowser
zoom = '18'
geolocator = Nominatim()
localisation = geolocator.geocode('Tour Eiffel')
print(localisation.address)
print(localisation.latitude, localisation.longitude)
lat = str(localisation.latitude)
lon = str(localisation.longitude)
webbrowser.open('https://www.openstreetmap.org/note/new?lat=' + lat + '&lon=' + lon + '#map=' + zoom + '/' + lat + '/' + lon)
matrame = '$GPGGA,064036.289,4885.833,N,00229.450,E,1,04,3.2,200.2,M,,,,0000*0E'
manouvelletrame = matrame.split(',')
donnee1 = manouvelletrame[0]
print(donnee1)
Nos manuels sont collaboratifs, n'hésitez pas à nous en faire part.
j'ai une idée !
Oups, une coquille