collector.py
344 Bytes
import pymysql
pymysql.install_as_MySQLdb()
import sys
from library.collector_api import *
class Collector:
def __init__(self):
self.collector_api=collector_api()
def collecting(self):
self.collector_api.code_update_check()
if __name__=="__main__":
app=QApplication(sys.argv)
c=Collector()
c.collecting()