What if a Program DELETES itself on Execution #shorts #programming #python #coding #tech #code

preview_player
Показать описание

Рекомендации по теме
Комментарии
Автор

OK, a few corrections here, firstly, programs are loaded into ram and then executed. Also, deleting a .py file is not synonymous to deleting the program that is running, due the the actual exec being the Python interpreter. In 99% of cases you will raise an error if you try and delete a running exec. If you are going to frame yourself as informative content, at least be accurate

AlyceIsFree
Автор

Actually 🤓 the program can continue running on the RAM even after begin deleted until it needs to load from disk something that was deleted.

Guaxinim