Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you may not be able to execute some actions.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
怎判断某个文件是否存在或者有效呢?类似于python2/3中的os.path.exists("D:\test1.txt")
if 'a.txt' in os.listdir('/path'): print('存在')