Re: cgi error
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.python archive

Re: cgi error

From: Richard Brodie <R.Brodie@rl.ac.uk>
Date: Fri Mar 31 2006 - 17:31:18 CEST

<s99999999s2003@yahoo.com> wrote in message
news:1143816755.824662.116540@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.
Received on Sun Apr 30 21:47:17 2006