|
@ -10,7 +10,7 @@ from gooey import Gooey, GooeyParser |
|
|
|
|
|
|
|
|
@Gooey(progress_regex=r"^progress: (\d+)/(\d+)$", |
|
|
@Gooey(progress_regex=r"^progress: (\d+)/(\d+)$", |
|
|
progress_expr="x[0] / x[1] * 100", |
|
|
progress_expr="x[0] / x[1] * 100", |
|
|
disable_progress_bar_animation=False) |
|
|
|
|
|
|
|
|
disable_progress_bar_animation=True) |
|
|
def main(): |
|
|
def main(): |
|
|
parser = GooeyParser(prog="example_progress_bar_2") |
|
|
parser = GooeyParser(prog="example_progress_bar_2") |
|
|
parser.add_argument("steps", type=int, default=15) |
|
|
parser.add_argument("steps", type=int, default=15) |
|
|