# 需要修改oracle的配置数据库 import cx_Oracle from Common.dir_config import caps_dir import yaml class DoSql: def do_orcal(self,query_sql,state='all'): # 1打开yam ...
分类:
数据库 时间:
2021-04-01 13:48:10
阅读次数:
0
递归函数 函数的递归调用: 是函数嵌套调用的一种特殊形式。 具体指的是在调用一个函数的过程中又直接或者间接的调用了自己,称之为函数的递归调用。 函数的递归调用就是一个循环的过程,用函数来实现循环 def f1(): print('from f1') f1() f1() # 函数默认调用1000次 d ...
分类:
其他好文 时间:
2021-04-01 13:41:29
阅读次数:
0
[20210401]跟踪sqlplus登录执行了什么.txt--//昨天做了测试,链接http://blog.itpub.net/267265/viewspace-2765851/,顺便记录一下登录过程执行了什么。1.环境:SCOTT@book> @ ver1PORT_STRING VERSION ...
分类:
数据库 时间:
2021-04-01 13:37:37
阅读次数:
0
1 class Solution { 2 private: 3 int maxSum = INT_MIN; 4 5 public: 6 int maxGain(TreeNode* node) { 7 if (node == nullptr) { 8 return 0; 9 } 10 11 // 递归 ...
分类:
其他好文 时间:
2021-04-01 13:30:06
阅读次数:
0
[云计算]OpenStack - Nova组件(未完善) Nova系统架构 架构 模块 模块 功能 一般部署位置 nova-api 接受rest消息 控制节点 nova-scheduler 选择合适的主机 控制节点 nova-conductor 数据库操作、复杂流程控制 控制节点 nova-comp ...
分类:
其他好文 时间:
2021-04-01 13:18:52
阅读次数:
0
组件 <template> <div> <div>{{val}}</div> <el-button type="success" @click="getClick">点击</el-button> </div> </template> <script> import mixins from '@/mi ...
分类:
其他好文 时间:
2021-04-01 13:18:02
阅读次数:
0
1.pytorch报错:module 'torch.nn' has no attribute 'init 修改/home/expstu1/anaconda3/lib/python3.6/site-packages/torch/nn/__init__.py 文件在最后一行加from .init imp ...
分类:
编程语言 时间:
2021-04-01 13:16:21
阅读次数:
0
import EXIF from 'exif-js' // 处理移动端拍摄照片旋转的问题 dataURLtoFile (dataurl, filename) { /* eslint-disable */ var arr = dataurl.split(','), mime = arr[0].matc ...
分类:
移动开发 时间:
2021-04-01 13:15:06
阅读次数:
0
PM2是Node.js的进程管理工具,利用它可以非常容易地实现开机应用自动启动以及必要时自动启动的功能。 我们可以使用 pm2 来守护进程 以下示例采用node-red来演示。 [alick@devnet ~]# sudo npm install -g pm2 然后我们启动 node-red [al ...
分类:
系统相关 时间:
2021-04-01 13:10:18
阅读次数:
0
sql server环境测试: 几个特性: 1.sql server兼容性可以说是最差的。 举例: select x from y where id=1 字符串查询 select x from y where id='1' 这是会报错的,不允许的 select x from y where id=" ...
分类:
数据库 时间:
2021-04-01 13:09:51
阅读次数:
0