You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
568 B

import sys
from gooey import Gooey
from gooey import GooeyParser
from argparse import ArgumentParser
@Gooey(
progress_regex=r"^progress: (-?\d+)%$",
disable_progress_bar_animation=True,
dump_build_config=True,
show_success_modal=False,
auto_start=True
)
def main():
desc = "Example application to show Gooey's various widgets"
parser = GooeyParser(prog="example_progress_bar_1")
_ = parser.parse_args(sys.argv[1:])
import time
time.sleep(1)
print('Success')
if __name__ == '__main__':
main()