copy — Duplicate Objects — PyMOTW 3

The copy module includes two functions, copy() and deepcopy() , for duplicating existing objects.

Read more…

This post is part of the Python Module of the Week series for Python 3. See PyMOTW.com for more articles from the series.