摘要:
使用os.path.exists()方法可以直接判断文件是否存在。代码如下:>>> import os>>> os.path.exists(r'C:\1.TXT')False>>> os.path.exists(path)Return True if path refers to an existi... 阅读全文
posted @ 2015-08-07 01:50
xxxxxxxx1x2xxxxxxx
阅读(1576)
评论(0)
推荐(0)
浙公网安备 33010602011771号