From 0b9d4a63d68a53a619d921561989bd5a1107bb1f Mon Sep 17 00:00:00 2001 From: pbr4nzfkh <18879212807@163.com> Date: Sun, 17 Mar 2024 16:01:13 +0800 Subject: [PATCH] =?UTF-8?q?Delete=20'=E5=9F=BA=E6=9C=AC=E7=BB=93=E6=9E=84/?= =?UTF-8?q?042=20restful/tf-35-request.py'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 基本结构/042 restful/tf-35-request.py | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100644 基本结构/042 restful/tf-35-request.py diff --git a/基本结构/042 restful/tf-35-request.py b/基本结构/042 restful/tf-35-request.py deleted file mode 100644 index 235a88e..0000000 --- a/基本结构/042 restful/tf-35-request.py +++ /dev/null @@ -1,10 +0,0 @@ -import requests -from cppy.cp_util import * - -url = 'http://127.0.0.1:5000/word_frequency' -data_list = extract_file_words(testfilepath) -data = { - 'file': data_list -} -response = requests.post(url, json=data) -print(response.json()[:10])