访问:pypi.org 搜索 fuzzywuzzy
用鼠标滚动网页到底部,可见:Free Pascal: FuzzyWuzzy.pas (Free Pascal port)
下载 FuzzyWuzzy.pas-master.zip 后解压到当前目录。
cd D:\lazarus\projects\FuzzyWuzzy.pas-master
编写 winbuild.bat 如下
@echo off
echo Set up FPC executable path.
set fpcexe=D:\lazarus\fpc\3.2.2\bin\x86_64-win64\fpc.exe
if not exist "%fpcexe%" (
echo ERROR: Edit this batch file to set up location of fpc.exe
exit /b 1
)
echo "%fpcexe%"
echo Building...
"%fpcexe%" -Fu. -Fl. MyUtils.pas
"%fpcexe%" -Fu. -Fl. Levenshtein.pas
"%fpcexe%" -Fu. -Fl. FuzzyWuzzy.pas
"%fpcexe%" -Fu. -Fl. DemoUsage.pas
编译运行 winbuild.bat
dir
运行 DemoUsage.exe

最低0.47元/天 解锁文章
1448

被折叠的 条评论
为什么被折叠?



