Intermediate Python - Class and Static Methods

Class and Static methods give us power to add more functionality to the classes that we create. In this video we will explore just that.
👨‍💻 Looking for a web developer job, visit: www.webdevjobs.io/
👽 Discord - / discord
Timestamps ⏳
00:00 - Introduction
01:55 - Class Methods
08:46 - Static Methods
The finished code can be found here:
👾 - replit.com/@f4n/Intermediate-...
#Python #classmethods #staticmethods

Пікірлер: 7

  • @iamrithmic
    @iamrithmic Жыл бұрын

    🔴 If you enjoyed this video. Leave a Like and Subscribe :)

  • @ahjsbkdjhavkcjhvac
    @ahjsbkdjhavkcjhvac Жыл бұрын

    very cool!!

  • @iamrithmic

    @iamrithmic

    Жыл бұрын

    Thanks man :)

  • @midhunrajaramanatha5311
    @midhunrajaramanatha5311 Жыл бұрын

    Hi can you make video about dunder methods

  • @iamrithmic

    @iamrithmic

    Жыл бұрын

    Great idea thank you! Will plan for it :)

  • @farzadmf
    @farzadmf Жыл бұрын

    I guess `ARE_MONSTERS_EVIL` can be accessed like `Monster.ARE_MONSTERS_EVIL` and the `staticmethod` can access it like that and change it?

  • @iamrithmic

    @iamrithmic

    Жыл бұрын

    This is an interesting point. I haven't tried this out however I think this would lead to an error as the method itself will not know of the existence of Monster()