5 lines
68 B
Python
5 lines
68 B
Python
import os
|
|
|
|
|
|
def parent_dir(path):
|
|
return os.path.split(path)[0]
|