python3中,取消了urlparse 引用方式改为了: from urllib import parse 转载于:https://www.cnblogs.com/mafeng/p/11433811.html