capt pant python