a=input('请输入用户名') count=1 while count<3: if a=='我是大聪明': print('输入正确') count=4 else: a=input('请重新输入') count=count+1 if a=='我是脑残': pass else: print('您已经 ...
分类:
其他好文 时间:
2020-07-02 12:00:02
阅读次数:
59
用于监控程序在那个阶段的运行时间较长 for(int i=0;i<=XList.Count -1;i++) { //获取开始时间 DateTime d1 = DateTime.Now; //进行修改操作 idata += _bllGongZiList.SetUptmdGongZiList(XList ...
func countHans(s string) int { var count int = 0 for _, v := range s { isHans := unicode.Is( unicode.Han,v) if isHans { count ++ } } return count } ...
分类:
其他好文 时间:
2020-07-01 22:22:27
阅读次数:
51
自动存取款一体机代码: count=0 chance=3 name='zhangsan' passwd='123' while count<3: in_name=input("请输入账户号:") in_passwd=input("请输入账户密码:") if (in_name == name)and( ...
分类:
编程语言 时间:
2020-07-01 20:41:01
阅读次数:
61
分组查询 1、语法 SELECT 分组函数,分组后的字段 FROM 表 [WHERE 筛选条件] GROUP BY 分组的字段 [HAVING 分组后的筛选] 2、分组查询特点及注意事项 1、分组函数做查询条件肯定放在HAVING子句中. 2、和分组函数一同查询的字段最好是作为分组条件的字段. 3、 ...
分类:
数据库 时间:
2020-07-01 20:29:02
阅读次数:
89
JVM class文件格式 魔法数 CAFE BABE 编译器版本号 Constant count Constant pool access flag this class super class interface count interfaces field count fields metho ...
分类:
其他好文 时间:
2020-07-01 20:22:12
阅读次数:
65
threading多线程模块 基本使用 Python中提供了threading模块用来实现线程并发编程,使用方法有两种,一种是将threading模块下的Therad类进行实例化的方式实现,一种是通过继承threading模块下的Therad类并覆写run()方法实现。 实例化Therad类创建子线 ...
分类:
编程语言 时间:
2020-07-01 12:26:50
阅读次数:
55
public List ReadeCFGNameFromExcel(string ExcelName) { List ColumnDB = new List(); //创建 Excel对象 Microsoft.Office.Interop.Excel.Application App = new Mi ...
public PageInfo Get(string name, int PageIndex = 1, int PagepSize = 3) { PageInfo pg = new PageInfo(); if (name == null) { name=""; } int count = pg.D ...
分类:
其他好文 时间:
2020-06-30 20:25:06
阅读次数:
48
1、capitalize() 与 title() 区别 capitalize(): 字符串第一个字母大写 title(): 字符串内的所有单词的首字母大写 a="i say hello to you" print(a.title()) # 'I Say Hello To You' print(a.c ...
分类:
其他好文 时间:
2020-06-30 20:24:02
阅读次数:
50