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

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:

Posted in Python

Paypal Sandbox and WooCommerce

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


Here’s a very short list of instructions

PayPal Sandbox

  • Sign Up for a PayPal Account for your online business
  • Login in to
  • Set up a Merchant account and a Buyer account under ApplicationsSandbox Accounts


  • 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.

Posted in wordpress, wordpress plugins

Enable Mod Rewrite in WAMP on Windows

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

  • Click on the WAMP control panel, usually in the task bar, and go to Apache – httpd.conf
  • Uncomment the line: LoadModule rewrite_module modules/
  • Find the bit that looks like:



    Change the settings to:

    Options All

    AllowOverride All


  • Restart Apache
Posted in Php

How to Add Export to PDF and Print Buttons to Your WordPress Pages Easily

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.

Posted in wordpress, wordpress plugins

Planning Your Website Content Structure for Better SEO

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:

Posted in SEO

How to Post to Social Media Automatically

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.

Posted in wordpress, wordpress plugins

How to Set Up Goals for Conversion Tracking in Google Analytics

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.

Posted in Google Analytics and Adwords, wordpress