728x90
conn=pymysql.connect(host='localhost',port=3306,user='root',passwd='',db='trade',charset='utf8')
cursor.execute(sql, (v_date, v_name, v_date_from, v_date_to, v_price, v_mean, v_std, v_lower, v_upper, v_txt))
728x90
'Python' 카테고리의 다른 글
| python cursor execute parameters (0) | 2021.01.25 |
|---|---|
| pymysql datetime 현재시간 (0) | 2021.01.25 |
| df index to column (0) | 2021.01.25 |
| df 평균 표준편차 (0) | 2021.01.25 |
| get_ohlcv interval (0) | 2021.01.25 |