This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: UTF8 -*- | |
#Aides: https://stackoverflow.com/questions/24906833/get-your-location-through-python | |
#Aides: https://github.com/Franck1333/GPS-Display/blob/master/Mon_Travail/Recuperation_Determination.py | |
import requests #<-- Utilisation d'une Adresse URL Normalisée | |
import json #<-- Permet l'expoitation de fichier en format JSON | |
import googlemaps #pip install -U googlemaps <-- API Python de Google MAPS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: cp1252 -*- | |
#Aides: https://stackoverflow.com/questions/28189442/datetime-current-year-and-month-python/28189525 | |
from datetime import datetime | |
def temps_actuel(): | |
currentSecond= datetime.now().second #Obtention de la Seconde Actuel |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Aides: https://www.python-course.eu/input.php | |
#"The raw_input does not interpret the input. It always returns the input of the user without changes" | |
name = raw_input("What's your name? ") | |
print("Coucou", name) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: UTF8 -*- | |
#Aides : https://developers.deezer.com/api | |
#Aides : http://json.parser.online.fr/ | |
import json #Traitement du fichier JSON reçu | |
import requests #<-- Utilisation d'une Adresse URL Normalisée |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: UTF8 -*- | |
#Aides: https://stackoverflow.com/questions/24906833/get-your-location-through-python | |
#Aides: https://github.com/Franck1333/GPS-Display/blob/master/Mon_Travail/Recuperation_Determination.py | |
import requests #<-- Utilisation d'une Adresse URL Normalisée | |
import json #<-- Permet l'expoitation de fichier en format JSON | |
import googlemaps #pip install -U googlemaps <-- API Python de Google MAPS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: UTF8 -*- | |
#Aides : https://market.mashape.com/community/food2fork | |
#Aides : http://unirest.io/python.html | |
#Aides : http://json.parser.online.fr/ | |
import requests #<-- Utilisation d'une Adresse URL Normalisée | |
import json #<-- Permet l'expoitation de fichier en format JSON |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: UTF8 -*- | |
#Aides : | |
#https://github.com/csparpa/pyowm #pip install pyowm | |
#http://pyowm.readthedocs.io/en/latest/index.html | |
#https://gist.github.com/Franck1333/37b6e562f8765086f69588244aee1a5c That's GPSoI.py file | |
import time | |
import os |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: UTF-8 -*- | |
#Aides : Using set-me-up.py from https://gist.github.com/ojii/3906682 , | |
#Aides : The generator "set-me-up.py" need a "__init__.py" file in the main root directorie to work . | |
#HOW INSTALL AND USE THIS PROJECT: | |
#in the console : sudo python setup.py install | |
#And all the depencies will be installed with the Project |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
#Aides : http://apprendre-python.com/page-tkinter-interface-graphique-python-tutoriel | |
#Aides : http://www.fil.univ-lille1.fr/~marvie/python/chapitre6.html | |
import os | |
import sys | |
from tkinter import * | |
fenetre = Tk() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#AIDE : https://www.daniweb.com/programming/software-development/threads/39554/how-to-opening-a-new-window-on-clicking-menu-item | |
# display message in a child window | |
from Tkinter import * | |
def messageWindow(): | |
# create child window | |
win = Toplevel() | |
# display message |
OlderNewer