This actually is a Python 2 programme. Up to date is Python 3.
So I suggest that you change the shebang-line (first line of the python script lecroywf.py)
from OLD: #!/usr/bin/python
to NEW: #!/usr/bin/env python2,
or adapt the script it to Python 3.
Regards!