﻿#coding: UTF-8

# Script python de notification des changements d'IP à interval régulier
# Date : 19/01/2012 19:00:54
# Python 3.2.2
# © 2012 mrschnaps.com

import urllib.request
import time

# Configuration
server_url = "http://votresite.com/IPChangeLog/logip.php?machine=ordinateur-maison"

while True :
    try:
        response = urllib.request.urlopen(server_url)
        response.close()
    except:
        pass
    time.sleep(60)

