__file__ is missing

Hi @icarmi,

You can’t directly access files from your source code, because they don’t really exist - your Python source code is sent into a worker process and loaded directly from memory. If you have a data file, the best way to access it is to store it in a Media column of a Data Table, then load that in your code. I hope that helps!