一.自己写个文件,叫logger.py
二.导进来模块
三.可以直接使用
Tips1:查看函数有多少个参数:
python之制作模块
原文:http://www.cnblogs.com/lonely-buffoon/p/5987629.html