Serving a file: Revision history

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

31 January 2023

27 May 2009

  • curprev 22:2022:20, 27 May 2009Michael Murtaugh talk contribs 566 bytes +566 New page: Example of a Python script to serve a file as a "download" link. <source lang="python"> #!/usr/bin/env python import os filepath = "/path/to/the/file" filelen = os.path.getsize(filepath)...