import pymysql
conn = pymysql.connect(host='paws-db',user='cscw',password='cscw',db='enwiki_p')
print('hello world')
hello world
with conn.cursor() as cur:
        cur.execute('use enwiki_p;')
        cur.execute('select rev_len from revision limit 5;')
        for c in cur:
            print(c)
(2609,)
(2687,)
(2714,)
(2756,)
(2756,)
 
(519207834, 0, 0, b'', 17565405, b'Morty', b'20121004174221', 0, 0, 2687, 0, b't6e3ilpe31rz15zyeyhfmwn992gechg', None, None)