PyYYC, May 2019

Python for a beginner, by a beginner

Rich Allan

Thank you to our sponsors:

assembly

teamit logo

Please let us know if you’re interested in sponsoring / have suggestions for possible sponsors

Upcoming event: Polyglot YYC

Saturday, June 2

$20 including lunch

1 free ticket available

Jobs?

Python feature: enumerate

subjects = ('Python', 'Coding', 'Tips')

for i, subject in enumerate(subjects):
    print(i, subject)

prints

0 Python
1 Coding
2 Tips

Python 2.3+, see PEP 279

Library of the month: tqdm

import time
from tqdm import tqdm

subjects = ('Python', 'Coding', 'Tips')

for subject in tqdm(subjects):
  time.sleep(0.25)

prints

tqdm

Supports features like printing more status variables, estimates for finish time, …

PyYYC future

  • Plan for next month: grizzly bear habitat mapping

  • Then break until September

Today’s talk