红色方框要引入箭头里面的 import sys sys.path.append('../../config/') from database import * print(MYSQL_CONFIG) ...
分类:
编程语言 时间:
2021-05-20 17:53:11
阅读次数:
0
分布式爬虫默认八数据存储在redis中,可以将数据转存到Monogdb或Mysql中,从而降低内存消耗。 from redis import Redisfrom pymongo import MongoClientimport jsondef redis_to_mongodb(): redis_cl ...
分类:
其他好文 时间:
2021-05-04 16:35:44
阅读次数:
0
1、查看数据类型: type(数据)(在下面的探究中会标注出来) 2、初步探究(重点是机器学习模型只能处理数值数据,所以新闻样本集里的每一个文本样本都要转为TF-IDF向量。) from sklearn.datasets import fetch_20newsgroups from sklearn. ...
分类:
其他好文 时间:
2021-05-04 16:34:58
阅读次数:
0
flutter 切换环境 终端运行flutter channel命令查看当前flutter 环境 分支 Mac:~ mac$ flutter channel Flutter channels: master dev beta * stable 带有*号的为当前分支切换分支命令 flutter cha ...
分类:
其他好文 时间:
2021-05-04 16:27:02
阅读次数:
0
官网下载Jenkins https://www.jenkins.io/zh/download/ 构建jenkins镜像 # docker build -t jenkins:2.277.3 . from ubuntu:latest run sed -i 's/ports.ubuntu.com/mirr ...
分类:
其他好文 时间:
2021-05-04 16:25:44
阅读次数:
0
SQL的函数分为: 单行函数:每行返回一个结果。 多行函数:每个处理集合返回一个结果。 字符函数 UPPER: 转换字符串到大写。 SELECT UPPER('Hello World') FROM dual; --返回HELLO WORLD LOWER: 转换字符串到小写。 SELECT LOWER ...
分类:
数据库 时间:
2021-05-04 16:23:44
阅读次数:
0
注册 使用一个没有注册过的邮箱 然后按照注册流程注册 标签 1.text -- 相当于web中的span标签 行内元素 2.view -- 相当于div 块级元素 3.checkbox -- 复选框 文件格式 1 .js写JS的 存档data数据 类似VUE 2 .json 配置文件 可以设置标题 ...
分类:
微信 时间:
2021-05-04 16:13:33
阅读次数:
0
一、基础 二、ResNet18 import tensorflow as tf from tensorflow import keras from tensorflow.keras import layers, Sequential class BasicBlock(layers.Layer): d ...
分类:
Web程序 时间:
2021-05-04 16:11:01
阅读次数:
0
RDS Scalabilty Scalabilty allows a solution to grow to increase storage, processing, memory, and netowrk operations By changing the class of an instan ...
分类:
数据库 时间:
2021-05-04 16:10:48
阅读次数:
0
Course Schedule III (H) There are n different online courses numbered from 1 to n. You are given an array courses where courses[i] = [durationi, lastD ...
分类:
其他好文 时间:
2021-05-04 16:09:30
阅读次数:
0