Python tool