So I received three python files with some functions. It's an util library provided by a third party. When I want to import these in my python file I use this code (as was specified by the third party):
import util.submission as S
import util.vis as V
import util.metrics as M
But then I get this error. I am working in Google Colaboraty and I uploaded the three python files in my current working directory on google colab so I don't understand. How do I fix this? The three files are just named submission.py ; vis.py and metrics.py. Any help here? This should be quite basic but it doesn't seem to work.
---------------------------------------------------------------------------
ModuleNotFoundError Traceback (most recent call last)
<ipython-input-8-1e1451b5bba0> in <module>()
1
----> 2 import util.submission as S
3 import util.vis as V
4 import util.metrics as M
ModuleNotFoundError: No module named 'util'