发布时间:2019-09-07 08:03:53编辑:auto阅读(1911)
|
import os
os.path.isfile('test.txt') #如果不存在就返回False os.path.exists(directory) #如果目录不存在就返回False |
上一篇: LabVIEW 调用 Python的三种
下一篇: python sqlite 获取表名、表
52052
51919
42147
38994
33493
30443
29080
24109
24017
22367
116°
150°
163°
148°
174°
161°
182°
187°
185°
195°