Python无限弹窗,打包为exe程序开机自启动,娱乐小程序。importtkinterastkimportrandom,threading,win32api,win32con,shutil,os,sysdefMymovefile():#移动程序到当前分区下命名为ARE_YOU_OKAY.exe。朋友问删了为什么还会执行。当然是因为有备份,玩够了就在分区下面删除这个吧。ifnotos.path.e
分类:
编程语言 时间:
2020-04-07 20:58:59
阅读次数:
436
环境: OS:Centos 7 DB:18.0.0.0 1.停掉每个节点的crsRun "crsctl stop crs" on all nodes to stop CRS stack.2.关闭HAIPOn one node, run the following commands:在一个节点上执行如 ...
分类:
数据库 时间:
2020-04-07 20:55:31
阅读次数:
92
下载https://www.zabbix.com/download_agents?version=4.4&release=4.4.7&os=Windows&os_version=Any&hardware=amd64&encryption=No+encryption&packaging=Archive安装Windows安装zabbixagent解压到D
import os def file_name_modify(dir, dir_name): """修改文件名字""" # 获取文件夹目录列表 dir_list = os.listdir(dir) # 进入目录 os.chdir(dir) # 遍历列表 for file in dir_list: # ...
分类:
其他好文 时间:
2020-04-07 13:00:22
阅读次数:
105
第一步:构造数据 import numpy as np import os x_values = [i for i in range(11)] x_train = np.array(x_values, dtype=np.float32).reshape(-1, 1) y_values = [i * ...
分类:
其他好文 时间:
2020-04-07 00:30:56
阅读次数:
88
快捷键名称及标识:ctrl = control = ?, option = ?,command = ? 电源按钮 我们都知道它可以开机、唤醒睡眠,也试过按一下按钮并不会关机。这是为了防止误操作的设计。 实际上,按住1.5秒可进入睡眠、继续长按则会强制关机 还可以设置-屏保-触发角进入睡眠 ...
分类:
系统相关 时间:
2020-04-07 00:30:13
阅读次数:
1360
第一步:构造数据 import numpy as np import os x_values = [i for i in range(11)] x_train = np.array(x_values, dtype=np.float32).reshape(-1, 1) y_values = [i * ...
分类:
其他好文 时间:
2020-04-07 00:23:28
阅读次数:
132
import os import configparser proDir = os.path.split(os.path.realpath(__file__))[0] configPath = os.path.join(proDir, "xs.ini") class ReadConfig(): de ...
分类:
其他好文 时间:
2020-04-06 21:01:13
阅读次数:
102
原创自由de单车 最后发布于2017-02-14 14:58:43 阅读数 18218 收藏在ngx_lua里,获取时间相关信息的方式大概有4种(见下面代码): print(string.format("%s, %s, %s, %s", ngx.time(), os.time(), os.clock ...
分类:
其他好文 时间:
2020-04-06 17:40:14
阅读次数:
151
一、在VSCode中编写Go代码时,缩进是使用tab缩进,主要是由于以下两个方面。 1. Go官方提供的代码格式化工具gofmt默认是使用tab缩进,并且为8个字符宽度。 2. 并且在VSCode中,打开go文件时默认的缩进选项是tab缩进,VSCode右下角可见。 二、由于写Python习惯了以后 ...
分类:
系统相关 时间:
2020-04-06 17:25:21
阅读次数:
129