From c89031b81da6f9643e0a1f73cd1678e2340ca985 Mon Sep 17 00:00:00 2001 From: Rufeer Date: Fri, 26 Jan 2018 13:36:53 +0800 Subject: [PATCH] update MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 开始下一题时清屏 --- GetQuestionAndroid.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/GetQuestionAndroid.py b/GetQuestionAndroid.py index 1d7768c..39e1a40 100644 --- a/GetQuestionAndroid.py +++ b/GetQuestionAndroid.py @@ -10,6 +10,7 @@ from threading import Thread import time import configparser +import os # 读取配置文件 config = configparser.ConfigParser() @@ -62,5 +63,5 @@ go = input('输入回车继续运行,输入 n 回车结束运行: ') if go == 'n': break - + os.system('cls') print('------------------------')