Edmonton.py

The Edmonton Python User Group

edmontonpy.com
@edmontonpy

devedmonton.slack.com

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

The Pac-Man Rule

Events

Polyglot 2020
late feb/early march

PyCascades 2020

Feb 8-9, Portland
 

PyCon US 2020

Apr 15-23, Pittsburgh

News

Articles

Python Tip

example_set_one = set([1,2,3])
example_set_two = set([3,4,5])

# combine the sets together
# use "union" function for this
print(example_set_one.union(example_set_two))
# output: {1, 2, 3, 4, 5}

# only print elements that are in both sets
# use "intersect" funtion for this
print(example_set_one.intersection(example_set_two))
# output: {3}

# find the difference between the sets
# use "difference" for this
print(example_set_one.difference(example_set_two))
# this basically means any elements from 
# "example_set_two" is removed from "example_set_one"
# same as "example_set_one - example_set_two"
# output: {1, 2}

Today's Talks!

The Use of Round() in Python 2 and 3

Ken Hawrylak

 

When Python becomes a couch potato; deferred evaluation with generators
Sam Ezebunandu

 

NEXT MEETUP ON JANUARY 13 2020

December 2019

By EdmontonPy

December 2019

  • 589