PythonPath: 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.

12 June 2008

  • curprev 16:5016:50, 12 June 2008Michael Murtaugh talk contribs 258 bytes +258 New page: == Checking the extension of a file (against a list) == <source lang="python"> import os foo = "SUNSET.JPG" (base, ext) = os.path.splitext(foo) ext = ext[1:] # strip first char (.) if e...