In the os
module in Python, is there a way to find if a directory exists, something like:
(在Python的os
模块中,有没有办法找到目录是否存在,例如:)
>>> os.direxists(os.path.join(os.getcwd()), 'new_folder')) # in pseudocode
True/False
ask by David542 translate from so 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…