On 23 November 2015 at 01:42, CMG Thrissur <cmgcom...@gmail.com> wrote: > Is the below text in plain text? I am using thunderbird.
No it isn't. I've kept the first part of it so you can see how it looks: > import datetime import time import mysql.connector import threading import > pythonwhois cnx = > mysql.connector.connect(user='root',password=pas,host='localhost',database=db) > cursor = cnx.cursor() def ProcessList(domain:str): ''' :paramdomain:din, > dcom etc :return: ''' query='select url from urls where (%s="" or > %s<curdate()) and %s<curdate()-1'%(domain,domain,domain+'lastcheck') print > (query) cursor.execute(query) tmplist=[] for url in cursor: > tmplist.append(url[0]) return tmplist #print -- Oscar _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor