Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 699 Bytes

README.md

File metadata and controls

19 lines (15 loc) · 699 Bytes

term-gantt

Description

This program displays a gantt chart onto terminal. Coded in Python.

Example code

Download the module and import it into your python file. Use the template below and happy dev'ing!

import gantt

print(' '*10, 'MAKE GOOD LEMONADE TO SELL AT WEEKEND STAND\n')
tasks = ['Research', 'MakeRecipe', 'Make test batch', 'Get Feedback']
starts = [0, 2, 3, 5] #These are the start dates of each task
durations = [2, 2, 1, 1] #These are the durations of each task. Make sure they correspond to the order used in starts.

gantt.chart(tasks, starts, durations)

Screenshot

Screenshot 1