Je ne connais pas ton code mais peut-être :
if (radio_code==BPSO('http://192.168.1.18:80/cgi-bin/net_jpeg.cgi?ch=1','/home/www/capture/sonnette.jpg') {
system("python /home/www/py/gmail.py");
} Copier coller un bout de code sans le comprendre ne m'a jamais rien appris personnellement.
[^] # Re: Automatiser tache python a partir d'un fichier Txt sur raspberry
Posté par copapa . En réponse au message Automatiser tache python a partir d'un fichier Txt sur raspberry. Évalué à 1.
Je ne connais pas ton code mais peut-être :
Copier coller un bout de code sans le comprendre ne m'a jamais rien appris personnellement.if (radio_code==BPSO('http://192.168.1.18:80/cgi-bin/net_jpeg.cgi?ch=1','/home/www/capture/sonnette.jpg') {
system("python /home/www/py/gmail.py");
}