python学习之自动化开发day2 python里一切都是对象 对象都具有方法 方法基于类创建 例如针对str类,具有相应的str操作 int类有int类的操作 list类有相应的list操作 tuple有tuple类操作 dict有dict类操作