Anthony Allen wrote: >> > ? ? import cx Oracle, os, sys, smtplib This line is extremely suspicious, see the missing comma between cx and Oracle. Modules can't have spaces in their names. Double check that first. Cheers, f.