上一页 1 2 3 4 5 6 7 8 9 10 ··· 12 下一页
摘要: 配置文件截图如下: 提取主机和URL信息代码: 执行结果: 阅读全文
posted @ 2019-09-11 14:15 tec2019 阅读(1645) 评论(0) 推荐(0)
摘要: 默认用foxfire浏览器,如果用chrome请到官网下载 chromedriver驱动,解压后放到python目录scripts下 然后添加环境变量,在Path下添加chromedrvier的路径。 阅读全文
posted @ 2019-09-04 15:27 tec2019 阅读(348) 评论(0) 推荐(0)
摘要: Sub createMenus() Dim cmdBar As CommandBar Dim cmdMenu As CommandBarPopup Dim cmdBtn As CommandBarButton Set cmdBar = Application.CommandBars("WorkSheet Menu Bar") 'Set cmdBar = Application.CommandBar 阅读全文
posted @ 2019-08-20 13:36 tec2019 阅读(3170) 评论(0) 推荐(0)
摘要: 在windows里新建一个计划任务定期去执行以下脚本,脚本会自动执行备份任务,并记录执行结果到日志文件。(执行时间,备份是否成功) 阅读全文
posted @ 2019-08-19 08:56 tec2019 阅读(1283) 评论(0) 推荐(0)
摘要: Sub ImportData() ' ' Copy Data from one workbook to the Current Workbook ' Place the macro file in the same folder as the source file ' p = ThisWorkbook.Path & "\" f = Dir(p & "*.xlsx")... 阅读全文
posted @ 2019-08-15 15:47 tec2019 阅读(908) 评论(0) 推荐(0)
摘要: 单账号: 多账号: 详细参见原文https://www.jianshu.com/p/4f0ed762f521 给多个地址发邮件: 阅读全文
posted @ 2019-08-08 09:03 tec2019 阅读(9805) 评论(0) 推荐(1)
摘要: var fs = require("fs"); var nowDate = new Date(); var result = nowDate.toLocaleDateString()+""+ " "+ nowDate.toLocaleTimeString(); fs.appendFile("d:/2/js/hello.txt",result+"\n", err => { if (!err... 阅读全文
posted @ 2019-07-15 15:32 tec2019 阅读(109) 评论(0) 推荐(0)
摘要: var express = require('express'); var app = express(); app.get('/', function(req, res){ res.send('hello world'); }); var server = app.listen(3000,'localhost', function(){ var host = server.a... 阅读全文
posted @ 2019-07-11 14:57 tec2019 阅读(231) 评论(0) 推荐(0)
摘要: 1.app.js的头部定义ejs: var ejs = require('ejs'); 2注册html模板引擎: app.engine('html',ejs.__express); 3.将模板引擎换成html: app.set('view engine','html'); 4.修改模板文件的后缀为. 阅读全文
posted @ 2019-06-27 09:13 tec2019 阅读(554) 评论(0) 推荐(0)
摘要: for Each语句: for 语句: 数组操作: 阅读全文
posted @ 2019-06-18 15:23 tec2019 阅读(2115) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 10 ··· 12 下一页