I have a script that will run for hours at a time, and I have no idea if it's frozen, how long is left, etc. I figured I would try and make a progress bar for it, but I can't seem to wrap my head around creating a progress bar that does not simply increment every X seconds (looking at you tkinter).
The end goal would be to get a very simple progress bar that lets me know my script is still working as it:
1) adds bootstrap support values to a phylogenetic tree using "support_tree = get_support(target_tree,list_of_trees)" from biopython's Phylo. <- this step takes up to 8 hours.
2) starts a new progress bar for when it loops through the nodes on the tree checking for nodes of low support (# of nodes is known, step the for loop is on is known) that increments as it loops through the nodes of the tree.
I'm pretty sure it's just my lack of experience, but I couldn't find a tutorial covering how to hook any type of progress bar into loop functions etc or that wasn't only available for python 2.x Any help is greatly appreciated!