I want assign the data which is retrieve from database (sqlit3) particular column  for a variable and call that variable for word tokenize.
please help with this
I know tokenize part but I want to know how to assign the db value to a variable in python.
This is worked but when using c.fetchall it didn't work.shows error saying TypeError: expected string or buffer
import sqlite3
import nltk
from nltk.tokenize import sent_tokenize, word_tokenize
conn = sqlite3.connect('ACE.db')
c = conn.cursor()
c.execute('SELECT can_answer FROM Can_Answer')
rows = c.fetchone()
for row in rows:
    print(row)
print(word_tokenize(row))
how to assign db column value to variable and call it to tokenize in python