摘要:
通过几次 pip 的使用,对于默认的 pip 源的速度实在无法忍受,于是便搜集了一些国内的pip源,如下:阿里云 http://mirrors.aliyun.com/pypi/simple/中国科技大学 https://pypi.mirrors.ustc.edu.cn/simple/豆瓣(douba 阅读全文
摘要:
1、系统安装配置Node.js https://nodejs.org/en/ 2、Sublime 依次点击 菜单栏 Tools => Build System => New Build System 3、在打开的新编译系统界面输入如下代码并存储为“JavaScript.sublime-build”或 阅读全文
摘要:
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 阅读全文