HF RL Explorer

Task: Implement mkdir -p Functionality in Python

Task: Implement mkdir -p Functionality in Python: a task in Terminal-Lego-15k (Harbor dataset). Create a Python script that replicates the functionality of the shell command mkdir -p . The mkdir -p command creates a directory and all necessary parent directories in the path, and does not raise an…

The task

Create a Python script that replicates the functionality of the shell command `mkdir -p`. The `mkdir -p` command creates a directory and all necessary parent directories in the path, and does not raise an error if the directory already exists.

Part of PrimeIntellect/Terminal-Lego-15k.