Task: Get the Directory Path of the Current Python File
Task: Get the Directory Path of the Current Python File: a task in Terminal-Lego-15k (Harbor dataset). In Python, you need to write a script that retrieves and outputs the directory path of the current file (not the full file path including the filename).
The task
In Python, you need to write a script that retrieves and outputs the directory path of the current file (not the full file path including the filename).
Part of PrimeIntellect/Terminal-Lego-15k.