Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

path of current working directory with os module python

import os
cwd = os.getcwd()

my_file='image.png'
file_path = os.path.join(cwd, my_file)
file_path
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #path #current #working #directory #os #module #python
ADD COMMENT
Topic
Name
7+1 =