- 博客(4)
- 资源 (4)
- 收藏
- 关注
原创 【已解决】Python项目中“被调用脚本所在路径”和“被执行脚本所在路径”的问题
需求:执行service.py,service.py调用Classifcation中的utils_cls.py,其中utils_cls.py语句如下print(os.getcwd()) # 起始执行目录print(sys.path[0]) # 被初始执行的脚本的所在目录print(os.path.split(os.path.realpath(__file__))[0]) # 这个脚...
2019-06-29 12:09:08 2030 2
原创 笔记本电脑换pmr机械硬盘小记
目前笔记本电脑情况:原硬盘位是SSD,光驱位是老硬盘新需求:把光驱架(12.7mm)的老硬盘(2.5寸/7mm/500G/pmr/5400r)换成新硬盘(2.5寸/9.5mm/1T/pmr/7200r)遇到的问题:插到硬盘盒系统可以识别,但直接插光驱位bios可以识别但系统(磁盘管理器、DG等软件)无法识别。解决方法1:把光驱位的新硬盘和原硬盘位的SSD互换位置,记得在bios里调一下...
2019-06-10 10:52:09 3846 3
原创 跨表多表update数据
参考这里需求:把表t2中的title和text赋值给t1表id相同的数据UPDATE table1 t1INNER JOIN table2 t2ON t1.id= t2.idSET t1.title= t2.title, t1.text= t2.text
2019-06-03 18:14:17 546
原创 python判断纯英文和纯数字
首先转为UTF-8,否则会把中文判断为isalphastr = str.encode('UTF-8')1.判断纯英文字母str.isalpha()2.判断纯数字str.isdigit()3.判断数字和字母组合str.isalnum()...
2019-06-03 13:29:11 10761
文本摘要 CNN/DailyMail 原始数据集
2022-04-15
[PDF]Neural Network Methods in Natural Language Processing 基于深度学习的自然语言处理英文原版
2018-11-23
希拉里 克林顿 邮件 自然语言处理 Hillary Clinton's Emails
2018-07-19
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人