Copy operator (was list.remove for Noivces)

Arthur Siegel ajs at ix.netcom.com
Mon Dec 3 07:50:16 EST 2001


Andreas writes -

>Actually, if you like it your way, you can add this to lines to your
site.py:
>import copy,__builtin__
>__builtin__.copy=copy.copy

>Afterwards your python will have a copy function without needing import
copy.

Very cool.

who knew.

Art





More information about the Python-list mailing list