Edmonton.py

The Edmonton Python User Group

Web: edmontonpy.com
Twitter: @edmontonpy

Slack: devedmonton.slack.com
#meetup-edmontonpy

When standing as a group of people, always leave room for 1 person to join your group."

The Pac-Man Rule

Jobs

If you have jobs please let us know, you may speak now!

Looking for jobs? Looking for great people?
please post/visit the #opportunities channel at

devedmonton.slack.com

Events

Polyglot 2020
late feb/early march, Edmonton
 

Student DevCon 2020

Mar 7th, Edmonton

PyCascades 2020

Feb 8-9, Portland

PyCon US 2020

Apr 15-23, Pittsburgh

News

Articles

Python Tip

class Animal():
    def sound(self):
        raise NotImplementedError(
            "Animals Make Noises: implement this method"
        )

class Cat(Animal):
    def __init__(self, name):
        self.name = name

    def sound(self):
        print(f"{self.name} says: Meow")        

class Dog(Animal):
    def __init__(self, name):
        self.name = name

if __name__ == "__main__":
    # this will be okay and won't throw an error
    cat = Cat("Ghost")
    cat.sound()
    # below will raise an error, because we
    # didn't implement sound() method
    dog = Dog("Gary")
    dog.sound()

Raising NotImplementedError if a method needs to be implemented.

Today's Talks!

The Real World Factory Design Pattern

Lewis Gunsch

 

A Bowl of Soup?; Web Scraping with Python
Sam Ezebunandu

 

NEXT MEETUP ON FEBRUARY 10th 2020

January 2020

By EdmontonPy

January 2020

  • 645