执行数据迁移时提示找不到对应的APP,错误如下: 这个错误主要是路径找不到引起的,只需在settings文件夹中添加app文件路径即可 ...
分类:
其他好文 时间:
2020-02-26 01:12:43
阅读次数:
101
# __author: # date:2020/2/25 import configparser config = configparser.ConfigParser() config['DEFAULT'] = {'ServerAliveInterval' : '45', "Compression" ...
分类:
其他好文 时间:
2020-02-25 20:10:13
阅读次数:
40
Coursework – Assessment BriefUBGMW9-15-3 Computational Civil EngineeringPreambleAll assessments on this module are individual work. The work you submi ...
分类:
其他好文 时间:
2020-02-25 19:37:41
阅读次数:
63
前言: create-react-app生成的项目,默认端口号是3000。但是,总是有人蠢蠢欲动,想要修改这个3000端口。本文中的主要内容,就是使用各种方案修改这个3000端口,总有一款适合你。 主体: (1)方案1 3000端口是webpack配置里面写的,可以通过传递一个PORT全局变量,来修 ...
分类:
移动开发 时间:
2020-02-25 17:47:12
阅读次数:
115
本文是笔者在学习MOOC课程《Python语言基础与应用》 (北京大学-陈斌)中根据上机课时的要求写下在代码 课程总链接: 中国大学MOOC B站 本节课链接 数值基本运算: 33和7+, -, *, /, //, %, **hex(), oct(), bin() 1 Python 3.7.0 (d ...
分类:
编程语言 时间:
2020-02-25 13:12:12
阅读次数:
241
导入 // ES6 模块化; // 导入 和 导出 // 例如:a.js 需要 b.js 的逻辑 // 导入: import {a,b} from './b.js'; console.log(a,b); import {a as c,b as d} from './b.js'; console.lo ...
分类:
其他好文 时间:
2020-02-25 09:39:41
阅读次数:
63
在使用 pd.scatter_matrix() 函数时会出现 module 'pandas' has no attribute 'scatter_matrix'错误 解决方法: 将代码改成: pd.plotting.scatter_matrix() 这个就可以显示出散点图矩阵了 完整代码: iris ...
分类:
其他好文 时间:
2020-02-24 21:04:59
阅读次数:
112
前言 用过angular-cli,create-react-app这些脚手架的朋友们,不知道你们有没有好奇过,为什么安装这些脚手架后,可以使用类似ng generate之类的命令。小弟研究了以下,原来是这样的。 package.json 贴一个简单的package.json { "name": "a ...
分类:
Web程序 时间:
2020-02-24 16:50:44
阅读次数:
254
import torch as t from torch import nn class Linear(nn.Module): # 继承nn.Module def __init__(self, in_features, out_features): super(Linear, self).__ini ...
分类:
其他好文 时间:
2020-02-24 13:00:20
阅读次数:
72
\protractor.conf.js\README.md\node_modules\angular-cli\README.md\node_modules\angular-cli\blueprints\ng2\files\protractor.conf.js\node_modules\angular ...
分类:
其他好文 时间:
2020-02-24 00:18:21
阅读次数:
81