Skip to content

Commit 0b2dd7e

Browse files
committed
Update example.py
1 parent 27c7228 commit 0b2dd7e

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

example.py

-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
#!/usr/bin/env python
2-
from __future__ import print_function
3-
42
import pymysql
53

64
conn = pymysql.connect(host="localhost", port=3306, user="root", passwd="", db="mysql")
@@ -10,7 +8,6 @@
108
cur.execute("SELECT Host,User FROM user")
119

1210
print(cur.description)
13-
1411
print()
1512

1613
for row in cur:

0 commit comments

Comments
 (0)