从pyh看Python的工厂模式 【设想】 在做selenium前端页面测试时,想到生成html报告,需要编写个类,实现在Python内编辑html,具体思路如下: 1、编写各种tag类型,如head、title、body;2、重载+运算,实现类似html+head的功能; GavinGuan 2015-12-04 14:17:48