#!/usr/local/bin/python2 import os print os.path.splitext('l/t.htm')