Some files, like
txt can be opened in Chrome. How do I open
py files that are linked on the page, and prevent them from bringing up the download dialog box?
Like this, for example http://matplotlib.org/mpl_examples/pylab_examples/scatter_demo2.py It is unnecessary to download the file. I just want to preview it in the browser.