代码拉取完成,页面将自动刷新
import os
import platform
from Config.Properties import Properties
f = open("/Idea/PythonTest/txt")
s = f.readlines()
for line in s:
print(line.strip())
with open("/Idea/PythonTest/txt", "a")as w:
w.write("\nni nainai d chuizi ")
path1 = os.path.abspath('..') + "/txt"
f = open(path1)
s = f.readlines()
for line in s:
print(line.strip())
# Windows will be : (32bit, WindowsPE)
# Linux will be : (32bit, ELF)
print(platform.system())
property = Properties('jdbc.properties', True)
pp = property.getProperties()
print(pp.get("driver"))
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。