Forums

Gist access to local files

Hello, I'm trying to run a gist on pythonanywhere. The gist needs to make use of a data file that I have stored in my account. This works fine as long as the user is logged in to my account, but doesn't work otherwise. I am hoping to have others be able to run the gist, so I'm wondering if there is any way to grant access to the data file? Thanks very much for any help you can provide.

You can make a static file mapping to that file https://help.pythonanywhere.com/pages/StaticFiles and get it over the network.