Logo

Programming-Idioms

History of Idiom 212 > diff from v7 to v8

Edit summary for version 8 by Oldboy:
New Python implementation by user [Oldboy]

Version 7

2019-10-23, 14:03:46

Version 8

2019-11-04, 18:57:05

Idiom #212 Check if folder exists

Set boolean b to true if path exists on the filesystem and is a directory; false otherwise.

Idiom #212 Check if folder exists

Set boolean b to true if path exists on the filesystem and is a directory; false otherwise.

Extra Keywords
test whether existence
Extra Keywords
test whether existence
Imports
import os
Code
b = os.isdir(path)