Shallow vs Deep Copying in Python - Advanced Python 20 - Programming Tutorial

Published: 19 August 2019
on channel: Patrick Loeber
20,698
547

In this Python Advanced Tutorial, we will talk about copying. We will learn how we can copy mutable elements with the built-in copy module, and the difference between shallow and deep copies. We will also have a look at how to make actual copies of custom objects.

~~~~~~~~~~~~~~ GREAT PLUGINS FOR YOUR CODE EDITOR ~~~~~~~~~~~~~~
✅ Write cleaner code with Sourcery: https://sourcery.ai/?utm_source=youtu... *

📚 Get my FREE NumPy Handbook:
https://www.python-engineer.com/numpy...

📓 Notebooks available on Patreon:
  / patrickloeber  

⭐ Join Our Discord :   / discord  

If you enjoyed this video, please subscribe to the channel!

A written Tutorial can be found here:
https://www.python-engineer.com/cours...

You can find me here:
Website: https://www.python-engineer.com
Twitter:   / patloeber  
GitHub: https://github.com/patrickloeber

#Python

----------------------------------------------------------------------------------------------------------
This is a sponsored link. By clicking on it you will not have any additional costs, instead you will support me and my project. Thank you so much for the support! 🙏