How to create a folder on a specific path in Python?
Suppose I need to create a folder named ‘1234’ here / HOME / KOROBEINIKOVI / PYPRO
.
How to do it?
Answer 1, Authority 100%
Arbitrary nesting + directory can already exist:
from pathlib import path
PATH ("/ HOME / KOROBEINIKOVI / PYPRO / 1234"). MKDir (Parents = True, exist_ok = true)