python
文章平均质量分 56
yiranxijie
Don't be the same,be better!
展开
-
eclipse离线安装PyDev
解决eclipse离线安装PyDev中的问题原创 2017-05-11 20:59:19 · 6713 阅读 · 0 评论 -
解决conda安装qt-5.6.2-vc9_1包时出现的字符集编码问题
部分错误信息如下: An error occurred while installing package ‘https://mirrors.tuna.tsinghua.edu.cn /anaconda/cloud/conda-forge::qt-5.6.2-vc9_1’. UnicodeDecodeError(‘ascii’, ‘C:\Users\Administrator\Mini原创 2017-05-16 19:37:10 · 5204 阅读 · 2 评论 -
ImportError: No module named _jythonlib
使用jython过程中遇到的一些问题,解决问题的流程:这里写链接内容 附jython文档:Chapter 10: Jython and Java Integration 应用场景: java调Python,非系统cmd调用,使用jython的PythonInterpreter执行python语句获取java对象。原创 2017-06-28 10:30:24 · 1579 阅读 · 0 评论 -
python分批定量读取文件内容,输出到不同文件中
应用场景:分批读取共有358086行内容的txt文件,每取1000条输出到一个文件当中# coding=utf-8# 分批读取共有358086行内容的txt文件,每取1000条输出到一个文件当中txt_path = "E:/torrenthandle.txt"base_path="E:/torrent_distribution/"def distribution( ): f = ope原创 2017-05-12 13:40:34 · 7385 阅读 · 0 评论 -
Precision and Recall of clustering for python
A true positive (TP) decision assigns two similar documents to the same cluster, a true negative (TN) decision assigns two dissimilar documents to different clusters. There are two types of errors ...原创 2018-06-14 09:55:53 · 459 阅读 · 0 评论