Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

get current file location

import pathlib
loc = pathlib.Path(__file__).parent.resolve()
print(loc)
 
PREVIOUS NEXT
Tagged: #current #file #location
ADD COMMENT
Topic
Name
9+6 =