Edmonton.py

The Edmonton Python User Group

edmontonpy.com
@edmontonpy

edmontonpy.slack.comsl

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

The Pac-Man Rule

Events

PyCon Canada 2019

Nov 16-17, Toronto

PyCascades 2020

Feb 8-9, Portland

PyCon US 2020

Apr 15-23, Pittsburgh

News

Articles

Python Tip

# don't do this
def f(value, seq=[]):
    seq.append(value)
    return seq
  
 >>> f(value=4)
[2, 4]
>>> f(value=8)
[2, 4, 8]
>>> f(value=16)
[2, 4, 8, 16]
def f(value, seq=None):
    if not seq:
        seq = []
    seq.append(value)
    return seq
  
>>> f(value=2)
[2]
>>> f(value=4)
[4]
>>> f(value=8)
[8]
>>> f(value=16)
[16]

Today's Talks!

How Python Saved My Basement
Dennis Miller

Making a Basic Neural Network Model Using 6 Lines of Code
Steven Luoma

NEXT MEETUP ON DECEMBER 9

November 2019

By EdmontonPy

November 2019

  • 176

More from EdmontonPy