How Shallow and Deep Copying in Python works | Using Lists

Опубликовано: 13 Февраль 2023
на канале: Vib Devs
46
4

When copying lists in python, sometimes you just want to d a shallow copying and sometimes you want to do deep copying. In this video I will show you the differences between these two kinds of copying using lists in python.

#pythonlistcomprehension
#pythongamedevelopment
#编程

Video editing: Windows video editor and adobe premiere
Video recorder: @https://obsproject.com
No copyright subscribe gif:    • No Copyright, Subscribe and Bell icon...  ​​​​​​​​​...
"Music provided by http://spoti.fi/NCS" and Anno Domini beats

https://www.canva.com
https://www.python.org/downloads/​​​​​​
Text editor: https://code.visualstudio.com/download
Browser: https://www.google.com/chrome/
Textbooks Used: Beginning Python Games Development with Pygame(Harrison Kinsley and Will McGugan).
https://www.pygame.org/docs/ for pygame documentation
https://www.tutorialsteacher.com/pyth...

Timecodes
00:00 - Intro
01:00 - Assigning a list as value to another list
02:56 - Shallow copying using the list method
03:28 - Shallow copying using the copy method
03:58 - Shallow and deep difference
06:38 - How Shallow and deep work
08:44 - deep copying
10:35 - Conclusion


Смотрите видео How Shallow and Deep Copying in Python works | Using Lists онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Vib Devs 13 Февраль 2023, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 46 раз и оно понравилось 4 людям.