# DB insertion import pymysql import pandas as pd import time import csv class SQL: def __init__(self, param): """ :param param: Input parameter(host, user, pw, db, charset, query) :return None: - MySQL Connection 연결 - Initialize member vars """ host, user, pw, db, charset = param.values() self.conn = pymysql.connect(host=host, user=user, password=pw, db=db, charset=charset) self.curs = self.con..
import os import win32com.client import pandas as pd import datetime as dt from dateutil.relativedelta import relativedelta from dateutil.parser import parse import time def checkPrivilege(): import ctypes if ctypes.windll.shell32.IsUserAnAdmin(): print("관리자 권한으로 정상적으로 실행되었습니다.") else: print("관리자 권한으로 실행되지 않았습니다. 관리자권한으로 실행하세요.") exit(1) class Creon: def __init__(self): """ :param None: :return ..