Very. Thanks much. :-)
h
--
http://mail.python.org/mailman/listinfo/python-list
That makes sense. Thanks. :-)
h
--
http://mail.python.org/mailman/listinfo/python-list
I've read in several places that a Python dictionary is analagous to
some other languages' hash table (Perl's, for instance). But FMU a
dictionary's keys are *themselves* hashed so that a hash table exists
that maps hashed key values to keys in the dictionary. ISTM, then,
that the analogy is at l
Just implemented the latter and works beautifully! ...even resolved my
other issue. Thanks again. :-).
--
http://mail.python.org/mailman/listinfo/python-list
That's a good idea. Thanks! :-)
--
http://mail.python.org/mailman/listinfo/python-list
I just wanted to indicate that a carriage return is present but not
visible.
hawk
--
http://mail.python.org/mailman/listinfo/python-list
It turns out that the retrlines method strips of EOL CRLF and \n. My
solution was to create a new method in ftplib that doesn't do this.
I'm assuming that there is a better OOP solution to this, e.g. some
kind of subclassing, but do not have the expertise as yet to implement
that. At any rate, ju
I would like to write a small ftp script that I could use in place of
DOS. So far I have this --
from ftplib import FTP
server = 'xxx'
username = 'xxx'
password = 'xxx'
file = 'xxx'
ftp = FTP(server)
ftp.login(username, password)
ftp.retrlines('RETR ' + file, open('C:\My Documents\' + file,
'w'