I’m calling 2 functions from 2 different python packages which individually run and finish with exit code 0 without error. However when I call these functions from my main program.py file the first function will run but will not end and proceed to the next function listed.
from Combine.combine_script import combine_files
from Retrieve_Files.google_drive import select_directory
select_directory()
combine_files()
exit()
This is how I am calling the functions in my main program.py file.
I was expecting the first function to run then end, proceeding to the second function which will run and end with exit() but this is not the case.
Am i missing somehting what would prompt the first function to end and the second to start or is something preventing the first function from ending and second function from starting.
Faith Family is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.