cgi error

Richard Brodie R.Brodie at rl.ac.uk
Fri Mar 31 10:31:18 EST 2006


<s99999999s2003 at yahoo.com> wrote in message 
news:1143816755.824662.116540 at z34g2000cwc.googlegroups.com...

> It works fine when i run it in python , but it won't run when i run my
> cgi script.
>
> It says AttributeError: 'module' object has no attribute 'FTPHost'
> what could be a possible cause? thanks.

Perhaps you called your script 'ftputil'. If so, 'import ftputil' won't
import the standard library version. 





More information about the Python-list mailing list