Clear output/intput PyDict object