Edmonton.py

The Edmonton Python User Group

edmontonpy.com
@edmontonpy

edmontonpy.slack.com

Today's talks

Super Cool Deployments with Fabric 2

Lewis Gunsch

 

Google Cloud Functions

Gord Nuttal

Events

#WomenInScience


PyCascades 2019

 (a few of us are going, let me know if you are)
February 23-24, Seattle

May 1-9, Cleveland

Releases

Python 3.8 Alpha

News

Articles

Python Tip

Add leading zeros

for i in [1, 11, 222, "aaa", 1234]:
    str(i).zfill(4)


'0001'
'0011'
'0222'
'0aaa'
'1234'

# or just numbers
print(f'{i:03}')

NEXT MEETUP ON MARCH 11th

  • Open Source Edmontonpy by Andrew Crouse

  • Data Science by Usman

February 2019

By EdmontonPy

February 2019

  • 682