Getting error, ModuleNotFoundError: No module named ‘cat’
The file cat is in parent of the current file in which from is written.( as shown in the figure)
This issue seems to be related to the Python import system, so I would recommend to take a look at the docs.
Based on your description I guess you might need to append the cat
path to sys.path
.