字符串的名称应该以一个前缀开头, 此前缀表明它们属于哪一个模块. 如果一个字符串不属于任何模块,那么应该使用如下前缀: - error_ 错误信息 - msg_ 常规通知信息 - title_ 标题, 例如dialog标题 - action_ 操作, 例如"保存"或"取消" ...
分类:
其他好文 时间:
2020-03-25 01:09:14
阅读次数:
284
一.迭代器 1.迭代器介绍 迭代器即用来迭代取值的工具,而迭代是重复反馈过程的活动,其目的通常是为了逼近所需的目标或结果,每一次对过程的重复称为一次“迭代”,而每一次迭代得到的结果会作为下一次迭代的初始值,单纯的重复并不是迭代。 while True: msg = input('>>: ').str ...
分类:
编程语言 时间:
2020-03-24 19:11:03
阅读次数:
85
1、模板语法: 使用双大括号(Mustache 语法) “{{ }}” 是最基本的文本插值方法,它会自动将我们双向绑定的数据实时显示出来。例如: <template> <div id="app"> <p>{{ msg }}</p> <p>{{ 20+1 }}</p> <p>{{ "ok" ? 'ye ...
分类:
其他好文 时间:
2020-03-24 18:38:30
阅读次数:
60
# 使用parse对网址进行拼接操作 from urllib import request,parse base_url = 'https://www.baidu.com/s?' wd = input('请输入查询信息>>') query_msg = { 'wd':wd } msg = parse. ...
分类:
Web程序 时间:
2020-03-23 15:15:27
阅读次数:
78
事件: import React,{Component} from 'react' class Index extends Component{ constructor(props){ super(props) this.state = { msg:'张学友' } } getMsg=(event)= ...
分类:
其他好文 时间:
2020-03-23 11:10:31
阅读次数:
54
前言:AB PLC控制器系列很多,主要分为小型MicroLogix和Micro800系列、中型CompactLogix系列、大型ControlLogix系列,而大、中型又统称为LOGIX 5000控制器。在项目实行过程中,控制器之间数据交互是经常涉及到的课题,LOGIX 5000控制器之间数据交互主... ...
分类:
其他好文 时间:
2020-03-22 11:08:40
阅读次数:
730
void Main() { using (var bitmap = new Bitmap(3094, 2136)) { using (Graphics g = Graphics.FromImage(bitmap)) { var msg = "在线考试模板图片(勿删)"; var font = new ...
1. 开启debug 配置文件 config -> APP // 显示错误信息 'show_error_msg' => false, 我是修改的.env2.使用view需要安装扩展包composer require topthink/think-view3.多应用模式 composer requir ...
分类:
Web程序 时间:
2020-03-18 11:50:30
阅读次数:
82
01 添加引用 [DllImport("user32.dll")] public static extern int MessageBoxTimeoutA(IntPtr hWnd, string msg, string Caps, int type, int Id, int time); //引用D ...
分类:
其他好文 时间:
2020-03-18 09:15:05
阅读次数:
61
selenium中的Exception解释 exception selenium.common.exceptions.ElementClickInterceptedException(msg=None, screen=None, stacktrace=None) 元素被遮盖导致无法取到 except ...
分类:
其他好文 时间:
2020-03-17 00:06:04
阅读次数:
73