Member-only story
Turn your Python code into GUI’s easily!
Welcome back! Python is an awesome programming language with a ton capability, so let’s talk about an awesome way to develop GUI’s with Python very easily. Now, I found this package by scrolling through GitHub, this specific package is called Gooey, check out their GitHub page below:
This specific package prides itself on converting almost any Python 2 or Python 3 console program into a GUI application with one line! Below is an example that they have on their GitHub page:
To install this package, we can use the following command:
pip install Gooey
At this point, we can use the following example to structure your GUI (this code was taken from their GitHub page, linked above):
from gooey import Gooey
@Gooey <--- all it takes! :)
def main():
parser = ArgumentParser(...)
# rest of code