Skip to content
Extraits de code Groupes Projets
Sélectionner une révision Git
  • d7570633a737d0e9c887fca40637ef92ac4f65e8
  • master par défaut protégée
2 résultats

maps.py

Blame
  • maps.py 371 o
    #!/usr/bin/python3
    '''
    affiche une page maps avec un lieu rechercher
    
    TODO : affiche un itinéraire sur maps
    '''
    
    
    def maps(location, dest=None):
        location = ("+").join(location.split(" "))
        return "https://www.google.nl/maps/place/" + location + "/& >/dev/null"
    
    
    if __name__ == '__main__':
        lieu, dest = input('entrez un lieu/une destination>').split('/')