from socket import *
import time
Address = ('aprs.hellocq.net', 14580)
aprsSock = socket(AF_INET, SOCK_DGRAM)
aprsSock.sendto('user BG2BYD-10 pass 88888', Address)
while True:
aprsSock.sendto('BG2BYD-10>APRS:!4544.36N/12637.13ErHLJHAM.NET IGATE 144.640MHZ', Address)
time.sleep(30)
aprsSock.close()