Answers for "access parent directories child file using python"

0

How do I get the parent directory in Python?

from pathlib import Path
Path(Path.cwd()).parent
Posted by: Guest on November-29-2020

Code answers related to "access parent directories child file using python"

Python Answers by Framework

Browse Popular Code Answers by Language