Here’s an example with working code and all the modules to get CherryPy running in Apache via WSGI with Windows authentication. Just download and copy Apache24 and coolwhip to the C: drive, add your IP\domain to httpd.conf, and fire up the server. See the read me for more details, installing…
Batch base64 encode PNGs in Python 3 for use in CSS.
I wrote a simple Python 3 script to base64 encode a series of PNG images for use in CSS, or whatever. If you’re learning Python try adding file output or even go a step further and generate the CSS lines. If you’re here I will assume you are wanting these…
pyGUI & wake a sleeping Mac example.
A more modern way running on Python 3.x. The original post is old! Note: Create a virtual environment so all your libraries stay separated from the Python included in OS X. There are a couple ways to do this. One way is to install Brew, then install Python and required…
Geektool + Python = Desktop Weather (& moonphase)
I had some free time today and was playing with Geektool, which is like the desktop toys I used to play with years ago on Linux – SuperKaramba comes to mind. I wrote a Python script as an example to do some weather stuff, which can be edited to work…