Update v2_3.py
Browse files
v2_3.py
CHANGED
|
@@ -79,6 +79,14 @@ w = ""
|
|
| 79 |
st = ""
|
| 80 |
ca = ""
|
| 81 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 82 |
# 打开并执行txt文件
|
| 83 |
with open('BianLiang.txt', 'r') as file:
|
| 84 |
code = file.read()
|
|
|
|
| 79 |
st = ""
|
| 80 |
ca = ""
|
| 81 |
|
| 82 |
+
# 打开并读取txt文件
|
| 83 |
+
with open('BianLiang.txt', 'r') as file:
|
| 84 |
+
file_content = file.read()
|
| 85 |
+
|
| 86 |
+
# 打印文件内容
|
| 87 |
+
print(file_content)
|
| 88 |
+
|
| 89 |
+
|
| 90 |
# 打开并执行txt文件
|
| 91 |
with open('BianLiang.txt', 'r') as file:
|
| 92 |
code = file.read()
|