소스 검색

‘处罚编号’优化

admin 4 년 전
부모
커밋
641319bf27
2개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 3 3
      BiddingKG/dl/complaint/punish_predictor.py
  2. 1 1
      BiddingKG/dl/test/test4.py

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 3 - 3
BiddingKG/dl/complaint/punish_predictor.py


+ 1 - 1
BiddingKG/dl/test/test4.py

@@ -116,7 +116,7 @@ def test(name,content):
 if __name__=="__main__":
     # filename = "比地_52_79929693.html"
     #text = codecs.open("C:\\Users\\User\\Desktop\\数据20191014\\"+filename,"r",encoding="utf8").read()
-    text = codecs.open("C:\\Users\\User\\Desktop\\2.html","r",encoding="utf8").read()
+    text = codecs.open("C:\\Users\\admin\\Desktop\\新建文本文档 (3).txt","r",encoding="utf8").read()
     content = str(BeautifulSoup(text).find("div",id="pcontent"))
     # df_a = {"html":[]}
     # df_a["html"].append(re.sub('\r|\n|\r\n',"",content))

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.