add db to csv print for python client