- 博客(8)
- 收藏
- 关注
原创 xls文件批量转csv文件(当前目录下) --VBA
Option ExplicitSub hj()Dim cFile$, cPath$, Sh As Worksheet, nRow%Dim fullfile$On Error GoTo errorApplication.ScreenUpdating = FalseApplication.EnableEvents = False cPath = ThisWorkbook.Pa...
2018-11-20 11:38:53
1071
原创 指定字符串批量 "替换 文件夹名[包括子目录_逐层修改]"--bat
指定字符串批量 "替换 文件夹名[包括子目录_逐层修改]"--bat该bat第一次运行只是改第一层,第二次运行改第二层,后面同理…@echo offset str1=Quasarset str2=Deepsetlocal enabledelayedexpansionfor /f "delims=" %%a in ('dir/ad/s/b') do ( set y=%%~nxa re...
2018-10-14 12:08:10
3780
1
原创 指定字符串批量 "替换 文件名[包括子目录]"--bat
指定字符串批量 "替换 文件名[包括子目录]"--bat有时照做项目做着做着想改名称了,贼麻烦的,文件内容可以用编辑器find功能,but文件名呢?所以就有以下代码了。demo:将bat目录下的所有文件名and文件夹名从“MyDemo”改为“hac_lang”(包括子目录下的):Set “BeforeStr=替换前字符串”Set “AfterStr=替换后字符串”@echo of...
2018-10-14 11:39:53
5774
原创 python实现跨文件全局变量
Python 中 global 关键字可以定义一个变量为全局变量,但是这个仅限于在一个模块(py文件)中调用全局变量。 多个文件之间使用同一个全局变量demo_value:文件1:globalvar.pyclass GlobalVar: demo_value = Nonedef set_demo_value(value): GlobalVar.demo_value=...
2018-02-23 16:10:37
4736
3
原创 ZennoPoster - Mouse Emulation and Get Coordinates
Start by learning about ZennoPoster, a little script, Mouse Emulation and Get Coordinates优酷:http://v.youku.com/v_show/id_XMzEyMTc2OTUwOA==.html?spm=a2h3j.8428770.341605
2017-10-31 01:27:49
653
原创 ZennoPoster - Create an useragent
Start by learning about ZennoPoster,the third little script, to create a basic loop little script, Create an useragent.优酷:http://v.youku.com/v_show/id_XMzEyMDkxMzUzNg==.html?spm=a2h3j.
2017-10-31 01:20:40
630
原创 ZennoPoster - Scraping Content and Saving to TXT File
Start by learning about ZennoPoster, the second little script,Scraping Content and Saving to TXT File
2017-10-31 01:11:28
593
原创 ZennoPoster - Create a basic loop
Start by learning about ZennoPoster, the first little script, to create a basic loop
2017-10-29 16:43:00
722
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人