class Foo { public static $flag_status = array( 'foo', 'bar' ); Const OT_UPGRADE_1 = 1; Const OT_UPGRADE_2 = 2; } // 静态属性 $name_attr = 'flag_status'; ...
分类:
其他好文 时间:
2021-03-05 13:15:20
阅读次数:
0
# -*- coding: utf-8 -*- """ File Name: conf.py Description : 读取当前文件上级目录conf 内hcs_conf.yaml的内容,返回yaml 对象 Author : jiaoyaxiong date: 2019/7/22 Change Ac ...
分类:
其他好文 时间:
2021-03-05 13:08:41
阅读次数:
0
https://www.cnblogs.com/guorongtao/p/13329618.html SELECT object_name(a.parent_obj) as [表名] ,a.name as [触发器名称] ,(case when b.is_disabled=0 then '启用' e ...
分类:
数据库 时间:
2021-03-05 13:01:52
阅读次数:
0
SELECT cust_id, com.com_name,com.contact,com.cell,com.pro || com.city || com.county || com.address AS dizhi FROM huiyuan INNER JOIN com ON huiyuan.id= ...
分类:
数据库 时间:
2021-03-05 13:00:08
阅读次数:
0
我们知道,在selenium中,定位方式可以分为8种:1,id定位2,class定位3,name定位4,link_text定位5,partial_link_text定位6,tag定位7,xpath定位8,css定位 那么在这8种定位方式种,我们该如何取舍呢?原则如下:原则一:如果元素有id属性,则首 ...
分类:
其他好文 时间:
2021-03-05 12:57:53
阅读次数:
0
###作用 一个python文件通常有两种使用方法,第一是作为脚本直接执行,第二是 import 到其他的 python 脚本中被调用(模块重用)执行。因此 if name == 'main': 的作用就是控制这两种情况执行代码的过程,在 if name == 'main': 下的代码只有在第一种情 ...
分类:
其他好文 时间:
2021-03-04 13:34:11
阅读次数:
0
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximu ...
分类:
Web程序 时间:
2021-03-04 13:32:30
阅读次数:
0
PlaneVector.hpp #ifndef PlaneVector_h__ #define PlaneVector_h__ template<typename coordinate_type> struct PlaneVector { coordinate_type x; coordinate_ ...
分类:
其他好文 时间:
2021-03-04 13:30:28
阅读次数:
0
1.请按照这样的日期格式(xxxx-xx-xx)每日生成一个文件,例如今天生成的文件为2019-04-26.log, 并且把磁盘的使用情况写到到这个文件中。 import time, os new_time = time.strftime("%Y-%m-%d") disk_status = os.p ...
分类:
编程语言 时间:
2021-03-04 13:27:25
阅读次数:
0
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="wi ...
分类:
编程语言 时间:
2021-03-04 13:25:22
阅读次数:
0