HF RL Explorer

Task: Get Parent Directory in Python

Task: Get Parent Directory in Python: a task in Terminal-Lego-15k (Harbor dataset). Create a Python script that gets the parent directory of a given path in a cross-platform way. The script should handle the following requirements:

The task

Create a Python script that gets the parent directory of a given path in a cross-platform way. The script should handle the following requirements:

Part of PrimeIntellect/Terminal-Lego-15k.