02 2020 档案
摘要:dir0/dir1/dir2/mod.py,dir0必须在环境变量中,可以import dir1,import dir1.dir2.mod。但在python3.3之前,dir1和dir2下必须存放一个__init__.py,以表明dir1,dir2是模块包,在直接或者间接调用包时,自动执行其下的__
阅读全文
摘要:1.Anaconda 直接在官网上下载速度会很慢,建议去清华镜像去下载需要的Anaconda的各个版本:Anaconda清华镜像地址 安装时,注意 在“Advanced Installation Options”中不要勾选“Add Anaconda to my PATH environment va
阅读全文
摘要:1.搭建 (1)控制面板 >程序 >将FTP服务器打勾 (2)输入iis,或者右键桌面-->管理-->服务和应用程序 >internet information service,右键网站,添加FTP站点。 (3)cmd输入ipconfig/all,查询本机ip地址,将Ip地址填入。 (4)打勾如下
阅读全文
Most simple basic of internet programming based on two different machines sharing the same local net
摘要: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
阅读全文
摘要: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
阅读全文
摘要:Python中eval,exec这两个函数有着相似的输入参数类型和执行功能,因此在用法上经常出现混淆,以至经常用错,程序易抛出错误。下面主要通过这两个函数的语法来阐述区别,并用例子来进一步说明。 首先 看下官方文档对这两个函数的说明: (1)eval(expr, globals=None, loca
阅读全文
摘要: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
阅读全文
摘要:梯度是微积分多元函数的一个重要概念,简单来说,梯度是一个向量,当函数上的一点按照该向量移动,函数值增加最大,该向量由函数分别对自变量的偏导值所构成。如果函数是二元函数,则梯度是二维向量,在自变量构成的平面上,如果函数是三元函数,则梯度是三维向量,在自变量构成的空间中。本文着重对它的上述的意义,进行形
阅读全文