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
Talks
Pipenv vs. Poetry
Eddie Antonio Santos
Intro to Git
Andrew Neitsch
Events
Student DevCon 2020
March 7th, Edmonton
PyCon US 2020
April 15-23, Pittsburgh
April 4th, Edmonton
YegSec CTF
March 2nd
News
Jobs
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
Articles
* provided the Python tip
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
Python Tip
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
February 2020
By amcrouse
February 2020
- 469