Unit tests for Literate Haskell
[ohcount] / test / detect_files / py_script
1 #!/usr/bin/env python
2 # vim:fileencoding=utf8
3 # Note both python and vim understand the above encoding declaration
4
5 """
6  This program is free software; you can redistribute it and/or modify
7  it under the terms of the GNU General Public License as published by
8  the Free Software Foundation; either version 2 of the License, or
9  any later version.
10
11  This program is distributed in the hope that it will be useful,
12  but WITHOUT ANY WARRANTY; without even the implied warranty of
13  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
14  See the GNU General Public License for more details,
15  which is available at www.gnu.org
16 """
17
18 import gettext
19 import locale
20
21 import os, sys, time, stat
22
23 try:
24     True, False
25 except NameError:
26     True, False = 1, 0