Test whether argument path is an executable file.
(self, path)
| 1113 | cgi_directories = ['/cgi-bin', '/htbin'] |
| 1114 | |
| 1115 | def is_executable(self, path): |
| 1116 | """Test whether argument path is an executable file.""" |
| 1117 | return executable(path) |
| 1118 | |
| 1119 | def is_python(self, path): |
| 1120 | """Test whether argument path is a Python script.""" |