Re: POP3 Mail Download

2006-03-18 Thread Bob Piton
On Sat, 18 Mar 2006 18:34:56 -0500, Kevin F wrote: > Dennis Lee Bieber wrote: >> On Sat, 18 Mar 2006 17:24:05 -0500, Kevin F <[EMAIL PROTECTED]> >> declaimed the following in comp.lang.python: >> >>> I fixed the indentation to: >>> >>> emails = [] >>> for msg in messagesInfo: >>> msgNum

Re: Basic Python FTP Question

2006-03-08 Thread Bob Piton
On Wed, 08 Mar 2006 00:09:34 -0800, Ravi Teja wrote: > Have you seen Python's ftplib? > http://effbot.org/librarybook/ftplib.htm > http://docs.python.org/lib/module-ftplib.html No I hadn't. Thanks for the references; it looks like that method will do anything I need to do with ftp. -- http://ma

Basic Python FTP Question

2006-03-07 Thread Bob Piton
I have just discovered how to do ftp with python, and have a question about using macdef. I can connect to the ftp site, using the .netrc file: machine my.ftpsite.com login myuserid password mypass macdef dload cd maindir get myfile and the python command: cmdline = "ftp my.ftpsite.com" % () o