[python] Elegant Python function to convert CamelCase to snake_case?