Gooey is a tool that accomplishes very important thing. It turns CLI application into a GUI application! Yes, you heard right.. Even some of us (me too) love CLI applications it is a big thing for the UI enthusiasts. Sometimes UI attracts people for using the application.

+So, how Gooey can be used?
-Very simple!

Step 1


pip install Gooey 


Step 1 (Alternative)


git clone https://github.com/chriskiehl/Gooey.git


Step 2


python setup.py install 
from gooey import Gooey


@Gooey      <--- all it takes! :)
def main():
  parser = ArgumentParser(...)
  # rest of code


‘ArgumentParser’ is basically does the job that its name says. The arguments of our CLI application is being passed into that by text. But, also there are widgets;

from argparse import ArgumentParser
....

def main(): 
    parser = ArgumentParser(description="My Cool Gooey App!")
    parser.add_argument('filename', help="name of the file to process")  


You can visit below sites for more information;
Source repo of the Gooey
Article about the Gooey / Developer of the project