Flask is great, so far I've managed to serve basic pages, use templates for format and Bootstrap to make things look great. BUT! I've wasted eons trying to understand the dynamics of the static folder. Suppose my app goes and returns numbers I've computed elsewhere in python. I can easily return these via a dict that I feed to a template inside the templates folder.
Now suppose the dict also has the filenames of relevant output inside static/out, for instance static/out/file1.txt, static/out/file2.txt, how can I serve links to those files on my page? I've tried url_for, etc.