# cp [-adfilprsu] 源文件(source) 目标文件(destination)# cp [options] source1 source2 source3 …. directory参数:-a :相当于 -pdr 的意思;-d :若来源文件为连结文件的属性(link file),则复制 ...
分类:
系统相关 时间:
2021-01-26 12:02:15
阅读次数:
0
@ 一、环境介绍 系统版本 IP地址 主机名 角色 centos7.5 192.168.1.104 salt-master master centos7.5 192.168.1.105 salt-client client 环境说明: centos7.5默认的python环境是2.7版本。 官方说明 ...
分类:
系统相关 时间:
2021-01-26 12:01:22
阅读次数:
0
bool运算符的行为 操作符 操作定义 x and y 如果x为假,返回x,否则返回y x or y 如果x为真,返回x,否则返回y not x 如果x为假,返回真,否则返回假 例子 a = 1 b = 2 c = a and b print(c) # 2 a = 0 b = 2 c = a and ...
分类:
编程语言 时间:
2021-01-26 11:58:08
阅读次数:
0
说明 v2上有个老哥把编译后的whl放到github了,直接下载安装即可。在这里对他表示致谢。 地址:https://github.com/wizyoung/AppleSiliconSelfBuilds 下载后安装 下载 需要python环境,可以参考我的另一篇博客安装:https://www.cn ...
分类:
编程语言 时间:
2021-01-26 11:57:55
阅读次数:
0
Chapter 4 - Clustering Models Segment 3 - DBSCan clustering to identify outliers DBSCAN for Outlier Detection Unsupervised method that clusters core s ...
分类:
数据库 时间:
2021-01-26 11:57:37
阅读次数:
0
Linux环境Erlang下载安装 下载erlang,原因在于RabbitMQ服务端代码是使用并发式语言Erlang编写的 创建文件夹 mkdir rabbitMQ 安装相关依赖 yum install epel-release yum install gcc gcc-c++ glibc-devel ...
分类:
系统相关 时间:
2021-01-26 11:56:32
阅读次数:
0
import tensorflow as tf import numpy as np ##使用numpy生成100个随机点 x_data=np.random.rand(200) y_data=x_data*0.1+0.2 #构造一个线性模型 b=tf.Variable(0.) k=tf.Variab ...
分类:
编程语言 时间:
2021-01-26 11:55:41
阅读次数:
0
官网下载地址(已存网盘):https://www.python.org 注:查看所有版本也可以选择32位或64位的解释器,X86就是32位、X86-64就是64位的 再推荐把官方文档也下载一下: 安装: 双击下载好的解释器exe文件 -- (install now 为安装位置;customize i ...
分类:
编程语言 时间:
2021-01-26 11:53:22
阅读次数:
0
参考官网流程: https://golang.google.cn/doc/install wget https://golang.google.cn/dl/go1.15.7.linux-amd64.tar.gz tar -C /usr/local -zxvf go1.15.7.linux-amd64 ...
分类:
系统相关 时间:
2021-01-26 11:52:20
阅读次数:
0
在Python中有两种函数,一种是def定义的函数,另一种是lambda函数,也就是大家常说的匿名函数。今天我就和大家聊聊lambda函数,在Python编程中,大家习惯将其称为表达式。 1.为什么要用lambda函数? 先举一个例子:将一个列表里的每个元素都平方。 先用def来定义函数,代码如下 ...
分类:
编程语言 时间:
2021-01-26 11:50:43
阅读次数:
0