國內源:
http://pypi.douban.com/ 豆瓣
http://pypi.hustunique.com/ 華中理工大學
http://pypi.sdutlinux.org/ 山東理工大學
http://pypi.mirrors.ustc.edu.cn/ 中國科學技術大學
終端命令:
Python2需將pip3改爲pip
pip3 install -i https://pypi.douban.com/simple <需要安裝的包>
http://pypi.douban.com/ 豆瓣
http://pypi.hustunique.com/ 華中理工大學
http://pypi.sdutlinux.org/ 山東理工大學
http://pypi.mirrors.ustc.edu.cn/ 中國科學技術大學
Python2需將pip3改爲pip
pip3 install -i https://pypi.douban.com/simple <需要安裝的包>
sessionStorage.av = JSON.stringify(data); var _data = JSON.parse(sessionStorage.av);
if裏面的返回值是true或是false,那麼只要括號裏隨便一個數都可以, javascript中以下值會判斷爲爲false: false undefined null 0 -0 NaN “”