I had inserted the file to database using blob manually. While I am retrieving it I am getting it in binary form.
import MySQLdb,os
db = MySQLdb.connect('localhost', 'root', 'root', 'databaseName')
cursor = db.cursor()
cursor.execute ("select resume from empinfo where eid=1")
d=cursor.fetchall()
print d
Can anyone please help?