Tinche / aiofiles

File support for asyncio
Apache License 2.0
2.66k stars 150 forks source link

create mutipass as mkdir -p #89

Open epa64 opened 3 years ago

epa64 commented 3 years ago

Hi, Thanks for the good library. I need to create a new directory path as /cache/0/0/0/0/0/1/0/3/4/1034/. It's possible with aiofile.os.mkdir ? as unix command mkdir -p /cache/0/0/0/0/0/1/0/3/4/1034/

best regards

stankudrow commented 2 years ago

In Python, it is os.makedirs function, aiofiles contains the async version of this function as well.