provincefinder.py: please pylint

1) Remove spaces at EOL

2) Comment unused variable

3) Other PEP8 things
Pythonize convert.py a bit

Mainly, please pylint as much as possible. Also, do not check
whether the file exists: in Python it is more typical to try to
open the file and let the open() raise on error.