Python for a beginner, by a beginner
Rich Allan
Please let us know if you’re interested in sponsoring / have suggestions for possible sponsors
Saturday, June 2
1 free ticket available
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
import time
from tqdm import tqdm
subjects = ('Python', 'Coding', 'Tips')
for subject in tqdm(subjects):
time.sleep(0.25)
prints
Supports features like printing more status variables, estimates for finish time, …
Plan for next month: grizzly bear habitat mapping
Then break until September