Python (and PyRAF) tools for the KAPAO instrument