일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
Tags
- pycharm
- Splunk
- synology
- mariadb
- SPL
- keras
- GitHub
- E-P1
- Numpy
- 알고리즘
- RNN
- imread
- pip
- GT-S80
- SciPy
- javascript
- Series
- Button
- pandas
- LSTM
- CNN
- 삼성소프트웨어멤버십
- mean
- dataframe
- Python
- index
- Lotto
- ipad
- install
- DFS
Archives
- Today
- Total
목록pymysql (1)
잠토의 잠망경
[Python] mariadb
1. pymysql install pymysql 2. 첫번째 행 갖고 오기 github data = cursor.fetchone() def sample01(ip:str, port:int, user:str, passwd:str, db:str, query:str)->tuple: """mariadb 첫번째 행 갖고 오기 Args: ip: ip port: port user: id passwd: password db: 기본 db Returns: 없음 """ import pymysql db = pymysql.connect(host = ip, port = port, user = user, passwd = passwd, db = db, charset='utf8', autocommit=True) cursor = db.c..
공부/Python
2020. 4. 19. 11:43