The PY posted by Alvin above fixes the gross inaccuracy I was getting on windows 7 brilliantly, however it seems the script fails completely with an error on Mac computers.
They are using OS-X Snow leopard - 10.6.8
Any chance that anyone knows how to fix this issue on Mac OS-X, I have tried changing the
locale.setlocale(locale.LC_ALL, '' )
Line to various suggestions found on the big google including changing it to
As well as a number of other strings such as 'en_US.UTF-8' and variants of such all of which produce the same error
What I know about Python can be written on the back of a postage stamp with a jumbo marker so I am at a complete loss as to what to do, if anyone can help I would be extremely grateful :)
The PY posted by Alvin above fixes the gross inaccuracy I was getting on windows 7 brilliantly, however it seems the script fails completely with an error on Mac computers.
They are using OS-X Snow leopard - 10.6.8
Any chance that anyone knows how to fix this issue on Mac OS-X, I have tried changing the
locale. setlocale( locale. LC_ALL, '' )
Line to various suggestions found on the big google including changing it to
locale. setlocale( locale. LC_ALL, locale. getdefaultlocal e())
As well as a number of other strings such as 'en_US.UTF-8' and variants of such all of which produce the same error
What I know about Python can be written on the back of a postage stamp with a jumbo marker so I am at a complete loss as to what to do, if anyone can help I would be extremely grateful :)
The error message attached.