[Biopython] gff3 writting

Peter Cock p.j.a.cock at googlemail.com
Wed Jul 3 06:57:16 UTC 2013


On Wed, Jul 3, 2013 at 1:39 AM, Mic <mictadlo at gmail.com> wrote:
> Thank you it is working, but why python did not complain previously?
>
> Mic

Because Python lets you dynamically add attributes to objects, e.g.

>>> class Duck(object):
...     pass
...
>>> donald = Duck()
>>> donald.name = "Donald"
>>> donald.name
'Donald'

Regards,

Peter



More information about the Biopython mailing list