General python coding for skill development and error diagnostic.