摘要: 通过几次 pip 的使用,对于默认的 pip 源的速度实在无法忍受,于是便搜集了一些国内的pip源,如下:阿里云 http://mirrors.aliyun.com/pypi/simple/中国科技大学 https://pypi.mirrors.ustc.edu.cn/simple/豆瓣(douba 阅读全文
posted @ 2020-03-02 00:48 JohnYang819 阅读(265) 评论(0) 推荐(0) 编辑
摘要: 1、系统安装配置Node.js https://nodejs.org/en/ 2、Sublime 依次点击 菜单栏 Tools => Build System => New Build System 3、在打开的新编译系统界面输入如下代码并存储为“JavaScript.sublime-build”或 阅读全文
posted @ 2020-03-01 21:05 JohnYang819 阅读(364) 评论(0) 推荐(0) 编辑
摘要: dir0/dir1/dir2/mod.py,dir0必须在环境变量中,可以import dir1,import dir1.dir2.mod。但在python3.3之前,dir1和dir2下必须存放一个__init__.py,以表明dir1,dir2是模块包,在直接或者间接调用包时,自动执行其下的__ 阅读全文
posted @ 2020-02-29 23:10 JohnYang819 阅读(171) 评论(0) 推荐(0) 编辑
摘要: 1.Anaconda 直接在官网上下载速度会很慢,建议去清华镜像去下载需要的Anaconda的各个版本:Anaconda清华镜像地址 安装时,注意 在“Advanced Installation Options”中不要勾选“Add Anaconda to my PATH environment va 阅读全文
posted @ 2020-02-28 21:03 JohnYang819 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 1.搭建 (1)控制面板 >程序 >将FTP服务器打勾 (2)输入iis,或者右键桌面-->管理-->服务和应用程序 >internet information service,右键网站,添加FTP站点。 (3)cmd输入ipconfig/all,查询本机ip地址,将Ip地址填入。 (4)打勾如下 阅读全文
posted @ 2020-02-28 13:40 JohnYang819 阅读(1048) 评论(0) 推荐(0) 编辑
摘要: This blog is just shown for the most simple basic of internet programming based on two different machines sharing the same local net.While the client 阅读全文
posted @ 2020-02-26 16:09 JohnYang819 阅读(130) 评论(0) 推荐(0) 编辑
摘要: Dive into RE in Python Standard re module in python is powerful to handle text manipulation,such as searching,matching,splitting etc, and it is necess 阅读全文
posted @ 2020-02-25 00:16 JohnYang819 阅读(274) 评论(0) 推荐(0) 编辑
摘要: Python中eval,exec这两个函数有着相似的输入参数类型和执行功能,因此在用法上经常出现混淆,以至经常用错,程序易抛出错误。下面主要通过这两个函数的语法来阐述区别,并用例子来进一步说明。 首先 看下官方文档对这两个函数的说明: (1)eval(expr, globals=None, loca 阅读全文
posted @ 2020-02-19 23:33 JohnYang819 阅读(538) 评论(0) 推荐(0) 编辑
摘要: Important note: You should always work on a duplicate of the course notebook. On the page you used to open this, tick the box next to the name of the 阅读全文
posted @ 2020-02-19 09:59 JohnYang819 阅读(201) 评论(0) 推荐(0) 编辑
摘要: 梯度是微积分多元函数的一个重要概念,简单来说,梯度是一个向量,当函数上的一点按照该向量移动,函数值增加最大,该向量由函数分别对自变量的偏导值所构成。如果函数是二元函数,则梯度是二维向量,在自变量构成的平面上,如果函数是三元函数,则梯度是三维向量,在自变量构成的空间中。本文着重对它的上述的意义,进行形 阅读全文
posted @ 2020-02-09 15:29 JohnYang819 阅读(1808) 评论(0) 推荐(0) 编辑