Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from __future__ import print_function
- import pymysql
- conn = pymysql.connect()
- cur = conn.cursor()
- cur.execute("SELECT `nick` FROM `seokat_users`")
- print("Cursor description: {}".format(cur.description))
- print()
- for row in cur:
- print(row)
- cur.close()
- conn.close()
- seokat_sites
- id | date | title | description | keywords | url
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement