| Version 11 (modified by , 15 months ago) ( diff ) |
|---|
Welcome to Playground project
Various code samples
Sample project flowtimer
see source:flowtimer@master for the master branch
see source:flowtimer@guix for the development branch
from Phase import Phase
from RecurringPhaseSequence import RecurringPhaseSequence
from Schedule import Schedule
p1 = Phase('Huddle', 10)
p2 = Phase('Tasking', 5)
p3 = Phase('Work', 45)
p4 = Phase('Break', 15)
seq1 = RecurringPhaseSequence(phase_list = [p1, p2, p3, p4], repetitions=3)
unrolled = [[deepcopy(seq) for seq in [each for each in seq1.repetitions * seq1.phase_list]]]
schedule = Schedule(unrolled)
Note:
See TracWiki
for help on using the wiki.
![(please configure the [header_logo] section in trac.ini)](/playground/chrome/site/playground.png)