def is_python(self, path):
        head, tail = os.path.splitext(path)
        return tail.lower() in (".py", ".pyw")
Adds a new control to the form.
dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/CGIHTTPServer.py/CGIHTTPRequestHandler.is_python--crossover with--dataset/ETHPy150Open deanhiller/databus/webapp/play1.3.x/samples-and-tests/i-am-a-developer/mechanize/ClientForm.py/HTMLForm.new_control