关尔春

博客园 首页 联系 订阅 管理

2018年8月30日

摘要: 1,常用占用符: tpl = "i am %s age %d" % ("alex", 18) tpl = "i am %(name)s age %(age)d" % {"name": "alex", "age": 18} tpl = "percent %.2f" % 99.97623 tpl 阅读全文
posted @ 2018-08-30 11:56 关尔春 阅读(24338) 评论(0) 推荐(0) 编辑

2018年8月15日

摘要: 1.scrollBy(x,y) scrollBy()方法可把内容滚动指定的像素数。 x:必需。把文档向右滚动的像素数。 必需。把文档向下滚动的像素数。 例:window.scrollBy(100,100); 注意: 要使此方法工作 window 滚动条的可见属性必须设置为true! 2.scroll 阅读全文
posted @ 2018-08-15 15:16 关尔春 阅读(917) 评论(0) 推荐(0) 编辑

2018年8月14日

摘要: https://www.cnblogs.com/benric/p/4965224.html 阅读全文
posted @ 2018-08-14 17:15 关尔春 阅读(130) 评论(0) 推荐(0) 编辑

摘要: https://www.cnblogs.com/dadadechengzi/p/6149930.html 阅读全文
posted @ 2018-08-14 17:13 关尔春 阅读(182) 评论(0) 推荐(0) 编辑

摘要: 例如: 输出 阅读全文
posted @ 2018-08-14 17:12 关尔春 阅读(168) 评论(0) 推荐(0) 编辑

2018年8月13日

摘要: 这是因为MySql运行在safe-updates模式下,该模式会导致非主键条件下无法执行update或者delete命令,执行命令SET SQL_SAFE_UPDATES = 0,修改下数据库模式,之后便可顺利执行。 阅读全文
posted @ 2018-08-13 14:42 关尔春 阅读(676) 评论(0) 推荐(0) 编辑

2018年8月9日

摘要: https://www.cnblogs.com/zhaijiahui/p/8398480.html 阅读全文
posted @ 2018-08-09 14:09 关尔春 阅读(155) 评论(0) 推荐(0) 编辑

2018年8月8日

摘要: https://blog.csdn.net/bo_mask/article/details/75041400 驱动使用32位 阅读全文
posted @ 2018-08-08 16:56 关尔春 阅读(1014) 评论(0) 推荐(0) 编辑