python tool