py3.6专题

使用py3.6 urllib 库进行POST

首先导入 # coding=utf-8import urllib.parseimport urllib.requestclass NeiRong():"""使用对象进行POST数据的封装"""def __init__(self, resto, content, **dictArg):"""resto是回复的串"""self.data = {"resto":resto,"content":c

win10下安装pytorch报错InvalidArchiveError(‘Error with archive D:\\anaconda\\pkgs\\pytorch-1.2.0-py3.6····

经历了漫长的安装包安装过程,眼看环境马上就要配好,但最后突然跳出了警告和报错: warning conda.gateways.disk.delete:unlink_or_rename_to_trash(139): could not remove or rename d:\anaconda\pkgs\pytorch-1.2.0-py3.6_cuda100_cudnn7_1\lib\site-pac