Интересная статья про инстанцирование (создание экземпляра класса)
#basics #internals #OOP
https://m.habr.com/ru/post/480022/
#basics #internals #OOP
https://m.habr.com/ru/post/480022/
Хабр
Инстанцирование в Python
Допустим, у вас есть класс Foo : class Foo(object): def __init__(self, x, y=0): self.x = x self.y = y Что происходит, когда вы создаёте его объект? f = Foo(1, y=2) Какой...
Особенности генераторов
#english #internals #basics
https://amir.rachum.com/blog/2017/03/03/generator-cleanup/
#english #internals #basics
https://amir.rachum.com/blog/2017/03/03/generator-cleanup/
Rachum
Cleaning Up in a Python Generator Can Be Dangerous
When a generator has `yield` in `finally` (or in an `except` clause that catches `GeneratorExit`), `close`ing that generator will result in `RuntimeError`.
#video #english #tutorial #PyCharm
https://www.youtube.com/watch?v=56bPIGf4us0&list=TLPQMDUwNDIwMjAvLzkk58AwWQ&index=1
https://www.youtube.com/watch?v=56bPIGf4us0&list=TLPQMDUwNDIwMjAvLzkk58AwWQ&index=1
YouTube
Pycharm Tutorial #1 - Setup & Basics
Pycharm Tutorial for python development!
In this video I will explaining how to use the pycharm IDE. Pycharm is an extremely powerful and useful IDE for python and can save you tons of time if you know how to use it. This pycharm tutorial goes over how to…
In this video I will explaining how to use the pycharm IDE. Pycharm is an extremely powerful and useful IDE for python and can save you tons of time if you know how to use it. This pycharm tutorial goes over how to…