python Blog Posts
4 posts, page 1 of 1
-
W3C Command-line Validator
Apr 29, 2011A command-line script (written in Python) for validating HTML and CSS files and URLs using the WC3 validators.
-
Bottle + MongoDB Example
Mar 17, 2011A didactic Web application written in Python to illustrate how to use the Bottle web-framework with the MongoDB database.
It’s a port I made of Mike Dirolf’s DjanMon application (how to use Django with MongoDB).
-
Merging and Compacting VirtualBox Snapshots
Jun 17, 2010Using the VirtualBox GUI to manually merge lots of snapshots is time consuming and fiddly so I wrote a Python script called
vboxmerge.py
to do this automatically. The script merges a snapshot branch into the base VDI with a single command (it also illustrates how easy it is to script VirtualBox using Python). -
Command-line SMS script
Mar 23, 2010Note: The current version of this app is written in CoffeeScript and is published in the npm package registry.
A simple Python command-line script I wrote to send SMS messages using Clickatell’s HTTP API. In addition it:
- Records sent messages in a log and has command option to view log file.
- Has command options to query the Clickatell account balance and the status of previously sent messages.
- Configuration can include a list of phone numbers.