Forums

How to view files externally

I read this guide https://help.pythonanywhere.com/pages/MatplotLibGraphs which says once you've made a chart you can view the graph from your browser using a URL like this: http://www.pythonanywhere.com/user/your-username/files/home/your-username/graph.png

That works fine while I'm logged in to python anywhere, but I would like to share the image with others. When I put the image URL in another window it redirects me to a login. Any ideas how to make files or folders viewable to anyone?

Sure. Create a web app and point a static file mapping to the directory where you're saving your graphs. That will publish them without authentication needed.

Perfect, cheers glenn!

This help page might also be of use.