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
Found a great, straightforward article today on setting up Paypal Sandbox Testing on a WooCommerce wordpress website.
Just a quick caveat. If you’re not in the US you’ll need to sign up for a PayPal account at PayPal.com
Here’s a very short list of instructions
- WooCommerce – Settings – Payment Gateways – Paypal
- Check Enable Paypal Standard
- Enter Your PayPal Test merchant email in the PayPal Email and Receiver Email boxes.
- In the Gateway Testing section check Enable PayPal sandbox
That’s it you should be ready to run test transactions through your website.
As I have to keep looking this up periodically, I’m making notes for this here. The most straightforward write-up I’ve seen on this of late can be found here.
How to enable mod rewrite in WAMP
Yet another fantastic plugin from Joost de Valk Print Friendly and PDF Button makes adding Print and PDF buttons to your posts or pages an absolute breeze. No need for any print css either. Can’t recommend this enough.
I’m currently in the process of making my own website’s information architecture make sense and follow some sort of logical pattern. As it’s very much a work in progress at the moment it can seem a bit confused, even to me.
Intelligent site structure for better SEO!
This article from Joost de Valk offers some great advice on planning out your website’s structure before you build it.
Another article by Trond Lyngbo –
The Pillars Of Strategic SEO & A Primer On Website Design makes you ask yourself questions like, What is this Page for, what am I trying to achieve here? and goes into great depth about how your website should be planned out.
Some other resources I have found useful on this topic:
This Plugin NextScripts: Social Networks Auto-Poster looks well worth a look. I’ll update this post when I’ve taken it for a spin.
Found a great video tutorial: How To: Google Analytics Set Up Goals for Conversion Tracking from Nathalie Lussier Media which explains in simple terms how to set up tracking for your WordPress website’s newsletter.