Skip to content

Instantly share code, notes, and snippets.

@larry1001
larry1001 / libmysql.py
Last active September 28, 2021 13:01
mysql wrapper in python
import pymysql
import os.path
import sys
from configparser import ConfigParser
from pymysql import (escape_sequence, cursors)
sys.path.append(os.path.dirname(__file__))
config = ConfigParser()