Calgary

Web: PyYYC.org

Meetup: PyYYC

YouTube: PyYYC

Jobs

Local

Online

Looking for a job? Looking to hire great people?

Please visit #opportunities at devedmonton.slack.com

Events

 

Check out

https://www.python.org/events/

News & Articles

>>> some_string = '[PERSON] Len Strousand'
>>> some_string.removeprefix('PERSON') # Strict substring matching
'[PERSON] Len Strousand'
>>> some_string.removeprefix('[PERSON] ') # Note the whitspace
'Len Strousand'
>>> some_string.removeprefix('[PERSON]').split() # Chaining
['Len', 'Strousand']

Python Tip: PEP 616

lstrip() versus removeprefix()

>>> 'Arthur: three!'.lstrip('Arthur: ') # Character set recursively applied
'ee!'
>>> 'Arthur: three!'.removeprefix('Arthur: ') # Substring applied once
'three!'

str.removeprefix() and str.removesuffix()

are standard starting in Python 3.9!

Tonight's Talk

Information Retrieval:

A simple search service

Daniel Zhou

Next Meetup

October 27, 2021

Message one of @aaron.yong, @abram, @data-get

or visit #meetup-edmontonpy on Dev Edmonton Slack

We are looking for presenters

Beginners are encouraged

A talk just has to do with Python in some way 🐍

Social Game

https://skribbl.io/

A Pictionary-like game

 

  1. Go to the site
  2. Type in a name and click CREATE PRIVATE ROOM
  3. Share the Room URL with your table
  4. Use your table for localized banter 😄

September 2021

By EdmontonPy

September 2021

  • 642