python tool working