发布时间:2019-09-07 08:03:53编辑:auto阅读(1954)
|
import os
os.path.isfile('test.txt') #如果不存在就返回False os.path.exists(directory) #如果目录不存在就返回False |
上一篇: LabVIEW 调用 Python的三种
下一篇: python sqlite 获取表名、表
52418
52341
42447
39348
33814
30763
29520
24442
24297
22666
197°
202°
207°
241°
197°
333°
326°
347°
347°
397°