'Can't read .npy file from external .py in Colab

I need to read a .npy file in Colab. The file is perfectly readable directly from Colab, but if I call the .py file and write the file reading in it, it gives an error that the file was not found. Screenshot here



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source