from usim800.usim800 import sim800
import phonenumbers

phonenumber = phonenumbers.me
times = 1

gsm = sim800(baudrate=9600,path='COM4')

for x in range(1,times+1):
    gsm.sms.send("+47{0}".format(phonenumber),"Sms spam test, {0} av 1000".format(x))

gsm.sms.send("+47{0}".format(phonenumber),"Tulla bare, ble bare {0} sms sendt :p".format(times))



