NTLM authorization - compile into EXE

Marc Scheuner mscheuner at hfx.eastlink.ca
Wed Apr 3 16:00:18 EST 2002


Folks,

I'm faced with the need to deal with an MS ISA proxy server. This
proxy users NTLM Authorization, which basically no internet tool
supports - except MS IE......

I downloaded the Python 1.5.2 source from here:
http://www.geocities.com/rozmanov/ntlm

and I also downloaded Python 1.5.2 itself - everything works okay.

But under Windows, having an extra command line window open just for
this NTLM proxy thingie is a bit "annoying" - so I thought I'd compile
it into an EXE, using Py2EXE. Downloaded all that stuff, too, and went
through all the steps recommended (distutils stuff and the like) - but
I still can't seem to compile that Python code into a Windows
EXEcutable.

The error message I get is very cryptic - at least to me as a Phyton
newbie. Don't really know what it tries to tell me....

---------------
File "C:\Program Files\Python\py2exe\resources\VersionInfo.py", line
56, in ?
  raise ImportError, "Could not import StringTables, no unicode
available"
ImportError: Could not import StringTables, no unicode available
---------------

Can anyone help? Or could someone do the Py2EXE step for me, and send
me the resulting EXE (in a ZIP - a .EXE attachment won't get through
the firewall and stuff).

Thanks!
Marc (mailto:mscheuner at hfx.eastlink.ca)



More information about the Python-list mailing list