add python script

db_tools.py is a python script for oprate the database
log_io.py is a python script for read file by production-consumer mode.