what's the shortest python oneliner for making sure a folder exists and if not creates it recursively?
I can do it with two lines using the pathlib
module
from pathlib import Path
Path('test/blah/foo/bar/').mkdir(parents=True, exist_ok=True)
can you do it in one line? having it in one line to use in various educational notebooks, where using two lines obscures the purpose of the code