Forums

loading data from an excel file

hi,

I am new to pythonanywhere.

I have uploaded my app.py in my site folder.

I have also created a /DATA/ folder in /mysite/ folder.

Now in my code I load data from a file.xlsx that is inside the DATA folder.

In my code on my pc I simply load specifying /DATA/file.xlsx, but in pythonanywhere seems not to work.

Please do not tell me that I have to specify the absolute path and there is not workaround using the relative path :-)

I'm afraid you already know the answer :-) But without knowing what errors do you get and how your code looks like it's only a guess.