You, sir, are a mean-machine of knowledge and perseverance. Appreciated. Been watching for quite a few years now.
@gxost_off Жыл бұрын
Quite underrated channel tbh. So much useful things to learn.
@pythoneatssquirrel11 ай бұрын
if you will get a runtime error with if __name__ == '__main__': freeze_support() ... The "freeze_support()" line can be omitted if the program is not going to be frozen to produce an executable. the solution is to add under if __name__ == '__main__': everything that is after the for loop (including it)
@PatrickSteil Жыл бұрын
Great video. Do we know why the memory usage is lower?
@jedpittman67399 ай бұрын
same question here
@thomasgoodwin2648 Жыл бұрын
How does this affect subclassing? 🖖😎👍
@AC1mDevo Жыл бұрын
i wonder where did you learned or found this functionality ? any website or reference?
@pingzhong-pl5sb Жыл бұрын
i had seen it from fluent python
@andiglazkov4915 Жыл бұрын
Thanks ☺️
@WabuhWabuh Жыл бұрын
bro you need to explain the function...whats the point of the video if your just giving variables...you could have just made a twitter post about it...-.- it would have been way more effective than this...
@SiarheiAkhramenia7 ай бұрын
No single word about internals. How does `__slots__` work? Why it isn't enabled by default? What are pros and cons of using `__slots__` over `__dict__`? Moreover, `__slots__` should be `tuple`, not `list`, as you're not going to change it and thus there's no need to confuse users of your class.
@oguzhantopaloglu9442 Жыл бұрын
Its 2024, nobody cares about saving memory :P
@OlegSenn Жыл бұрын
Were you on the Cyberpunk dev team?
@TamTam-i4q10 ай бұрын
i program in micropython with micro-controllers. and i care a lot about memory ;)