I would like my Python code to write an html file that is publicly available. Where can I write the file to ?
I would like my Python code to write an html file that is publicly available. Where can I write the file to ?
Check out how to use static file mappings on our help page.
Thank you for the quick reply !
mmm - this still doesn't allow public access. Serves a Login page. Can I put the page somewhere that anyone can get access to? Thanks.............
static files should be accessible to anyone. Are you sure you have setup the static file mappings correctly and reloaded the webapp? For example, the URL /static/
should map to the folder /home/myusername/myproject/assets
ok - thanks. Managed it this time !!
Great! Glad you worked it out.