Quote:I always obtain the message 'file doesn't exist'.Always show the entire error traceback, verbatim
Quote:I am not sure why, because the files I use are in the same directory asThe current working directory may not be the same as the src directory, to assure this is the case, add the following statement as the first line executed:
the python files
# add import import os #add as first line executed (in front of line 6) os.chdir(os.path.abspath(os.path.dirname(__file__)))