add python to process database