Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Current working Directory in python

import pathlib

print(pathlib.Path(__file__).parent.absolute())
Source by www.delftstack.com #
 
PREVIOUS NEXT
Tagged: #Current #working #Directory #python
ADD COMMENT
Topic
Name
7+2 =