[Mohd Suhairi Ahmad Soobni wrote]
> Hi All,
> 
> I'm trying to develop a simple ftp client for my Ipaq H3800 with Familiar
> Linux 0.8.2 & Opie 1.2 in it.
> 
> ...
> 
> File "./ftprecv1.py" line 14, in ?
> f.retrlines("RETR %s" % file, open(file, "w").write)
> .
> .
> .
> File "usr/lib/python2.4/ftplib", line 569, in parse227
> import re
> 
> ImportError: No module named re

It looks like the Python installation on your Ipaq does not have
Python's "sre" module, which is the engine behind the "re" (regular
expression support module. Does this fail on your Ipaq:

    python
    >>> import re
    >>>

ftplib.py relies on there being an 're' module.

Trent

-- 
Trent Mick
[EMAIL PROTECTED]
_______________________________________________
ActivePython mailing list
ActivePython@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Other options: http://listserv.ActiveState.com/mailman/listinfo/ActivePython

Reply via email to