Questions tagged [pyproject]

1 questions
-1
votes
1 answer

np.load from relative file in the python package

I have created a python package and I need to have np.load('./my_file.npy') in my package. when I install package and run the code the path is not correct and python cannot find the file I tried the following code as well dirname =…
WebMaster
  • 3,050
  • 4
  • 25
  • 77