Christopher J. Bottaro wrote:
(snip)
> 1.  The upload function is not an object.

Yes it is. In Python, everything's an object.

>>> ftp.storbinary.__class__.__name__
'instancemethod'
>>> ftp.storbinary.foobar = 42
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
AttributeError: 'instancemethod' object has no attribute 'foobar'


-- 
bruno desthuilliers
python -c "print '@'.join(['.'.join([w[::-1] for w in p.split('.')]) for
p in '[EMAIL PROTECTED]'.split('@')])"
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to