Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- mssql
- sqlite
- IOS
- GIT
- python
- Excel
- port
- 유니티
- MySQL
- javascript
- Linux
- 라즈베리파이
- node.js
- PER
- ubuntu
- 맛집
- PyQt
- 함수
- Unity
- ASP
- PyQt5
- flutter
- 다이어트
- MS-SQL
- pandas
- tensorflow
- 리눅스
- swift
- urllib
- 날짜
Archives
목록2018/11/05 (1)
아미(아름다운미소)
How to check the existence of a row in SQLite with Python?
Python으로 SQLite에서 행의 존재를 확인하는 방법row = cursor.fetchone() if row is None: ... # row is not present else: ... # row is presentsimplerow = cursor.fetchone() if row: print "row is present" else: print "row is not present"
랭귀지/python
2018. 11. 5. 18:24