Desktop Application with Python

This post covers creating a GUI Desktop application with Python including creating a windows executable so that the application can be distributed to users who may not have Python dependencies installed.

The program takes the credentials for accessing a Woo Commerce website API, obtaining a list of categories in JSON and exporting those to a csv file. The source code is very much at the Proof of Concept stage at the moment but I will be updating it as I progress in learning the Tkinter GUI framework.

You can find the source code and an example of the generated .exe on github here https://github.com/mogstuff/wooGui

The main packages used include woocommerce, csv, json, and tkinter.

For distributing the application I used pyinstaller on a Windows 7 laptop, there’s a nice straightforward example available here: https://mborgerson.com/creating-an-executable-from-a-python-script

Advertisements
Posted in Python

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: