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