首页 / PYTHON / Python中getattr函数和hasattr函数作用详解