python-2.1

python smtplib

Hey I have a windows server running python CGI scripts and I'm having a little trouble with smtplib. The server is running python 2.1 (unfortunately and I can not upgrade it). Anyway I have the following code: session = smtplib.SMTP("smtp-auth.ourhosting.com", 587) session.login(smtpuser, smtppass) and it's giving me this err...

python import error

I'm trying to use some python-2.1 code to control another program (ArcGIS). The version of python I am using is 2.5. I am getting the following error message when I run the code. <type'exceptions.ImportError'>: No module named win32api Failed to execute (polyline2geonetwork2). I tried installing pywin32-214.win32-py2.5.exe but I still...