Detail: tags-cursor (python)

1
2
3
4
5
6
tags_cursor.execute ("""SELECT keywords FROM rcms_posts WHERE id='%s'""" % i[0])
    for thetags in tags_cursor.fetchall():
        pass
    print thetags
    thetags2 = ", ".join([tag for tag in thetags.split(' ')])
    print thetags2

[raw] - Pasted by: r0sk on python on Nov. 25, 2011