I have Python project where i created two folders, input folder with csv data whose path is being used in the code as input path and output folder where after running my python file a document will be saved.
Now I have uploaded this to azure repos git and then created a pipeline on it and ran it. But it is thowing me error as it couldn’t identify my filepath used in code since it is hardcoded in the code with my local computer location.
I don’t know what will be the base path of my project folder after uploaded to azure git repo as i need to pass that path to my code and how can i pass the path to code dynamically?
enter image description here
enter image description here
Looking for an approach
Latheef Ods is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.