I've read that a global variable in python, natively behaves like a singleton, for instance like all the modules once imported, they don't make a difference when trying to re-import. Could you also touch base on that approach and hopefully explain us viewers pls. thanks in advance.
Oh wow, that was amazing videoooo!!!! Thanks a million :)
You're welcome 😊
Good one, also can you extend this to make it a thread safe one ? pls.
I've read that a global variable in python, natively behaves like a singleton, for instance like all the modules once imported, they don't make a difference when trying to re-import. Could you also touch base on that approach and hopefully explain us viewers pls. thanks in advance.
Low key one of the best explanations I’ve seen of this without BS and annoying editing.
Thank you for the awesome feedback.