Reading values from database and converting it using python

thank you!