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."
Eddie Antonio Santos
Andrew Neitsch
Student DevCon 2020
March 7th, Edmonton
PyCon US 2020
April 15-23, Pittsburgh
April 4th, Edmonton
YegSec CTF
March 2nd
If you have a job please let us know by putting up your hand.
Looking for jobs? Looking for great people?
please post/visit the #opportunities channel at
* provided the Python tip
Join the Edmonton Python meetup slack, ask questions and build your network.
Functions should do one thing
def email_clients(clients: List[Client]):
"""Filter active clients and send them an email.
"""
for client in clients:
if client.active:
email(client)
def get_active_clients(clients: List[Client]) -> List[Client]:
"""Filter active clients.
"""
return [client for client in clients if client.active]
def email_clients(clients: List[Client, ...]) -> None:
"""Send an email to a given list of clients.
"""
for client in clients:
email(client)
Bad
Good
Join the Edmonton Python meetup slack, ask questions and build your network.
Functions should do one thing
def active_clients(clients: List[Client]) -> Generator[Client]:
"""Only active clients.
"""
return (client for client in clients if client.active)
def email_client(clients: Iterator[Client]) -> None:
"""Send an email to a given list of clients.
"""
for client in clients:
email(client)
Pythonic
NEXT MEETUP ON MARCH 9TH