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