Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python file directory

from os import path
dir_path = path.dirname(__file__)
Source by www.geeksforgeeks.org #
 
PREVIOUS NEXT
Tagged: #python #file #directory
ADD COMMENT
Topic
Name
2+7 =