Archive for category: Python

You reeky, motley-minded mammet!

October 14, 2014 | Python | By: Mark VandeWettering

Without further explanation: Inspired by an image that was posted to Facebook.

Share Button

Some example python code to fetch weather forecasts…

July 8, 2014 | My Projects, Python, Web Programming | By: Mark VandeWettering

Need to get some weather information? The website has a nice web based service you can use up to one thousand times a day for free. I was thinking of using it for an automated sprinkler application, but just to test it, I wrote this simple chunk of python to try it out. To […]

Share Button

Mini hack o’ the day: Making IRC talk…

January 29, 2011 | Amateur Radio, My Projects, Python | By: Mark VandeWettering

Okay, it’s been a while since I posted anything: I’ve been busy with travel and the holidays, and now I’m trying to get my home office/shack setup so I can pursue some other projects. It is one of those rooms that has piles of crap, some of which I haven’t seen in years, so I’m […]

Share Button

How a geek tells his wife he loves her: an exercise in Python programming

October 17, 2010 | Programming Languages, Python | By: Mark VandeWettering

I’m away from my better half this weekend, visiting my Mom and brother. I scheduled this a few weeks ago, but shortly after Carmen was granted an entry into the Nike Women’s Half Marathon on the same weekend. Rescheduling the visit with Mom would have been hard, so I decided to go anyway, and missed […]

Share Button

Passing the Amateur Extra test by guessing…

August 3, 2009 | Amateur Radio, Math, Programming Languages, Python | By: Mark VandeWettering


Share Button

Use Your iPod shuffle without Using iTunes – The Unofficial Apple Weblog – _

April 12, 2005 | Audioblogs and Podcasting, Python, Toys and Gadgets | By: Mark VandeWettering

As a public service, I thought that this might be of interest: a Python program to load your iPod Shuffle.

Share Button

Scripting iTunes on Windows with Python

February 1, 2005 | Python | By: Mark VandeWettering

The Lonely Lion has a small snippet of Python that adds files to iTunes using the COM interface. Could be useful.

Share Button

January 24, 2005 | Blogging, Python | By: Mark VandeWettering

While playing around with Flickr, I did a quick grovel through their services API. It appears that James Clarke has already written a Python binding.

Share Button

jabber quickie

January 14, 2005 | Python | By: Mark VandeWettering

Over at random thoughts, they’ve got a nice quickie: Python code to talk to a jabber server.

Share Button

Python Gadget of the Day – Pydot

January 13, 2005 | General, Python | By: Mark VandeWettering

pydot is an interface to the GraphViz suite of programs for drawing abstract graphs and networks. Nifty. I’ve had need of such a thing quite a few times, and it only took me about two minutes to convert a part of my home directory hierarchy into the picture on the right. Fun stuff. Not that […]

Share Button


January 7, 2005 | Python | By: Mark VandeWettering

My ipod is on the fritz, so this isn’t immediately useful to me, but check out pypod: a Python library and script for manipulating the song database on your ipod. Neat. When mine comes back from the shop, I’ll have to try it out.

Share Button

Ugly python made better

December 20, 2004 | Peer To Peer, Python | By: Mark VandeWettering

Here you can find a tidier p2p program inspired by tinyp2p. It seems to use the Set datatype, so is probably specific to python 2.4, and is not compatible with tinyp2p, but it is much easier to read.

Share Button


December 15, 2004 | Computer Science, Intellectual Property, Python | By: Mark VandeWettering

Ed Felton of freedom-to-tinker has released a tiny 15 line Python program called TinyP2P which allows you to create a simple (if not secure or scaleable) file sharing network. Get the code here. It’s cute, and might not be bad for tiny bits of file sharing. Addendum: Actually trying to run it, I got localhost […]

Share Button

Spreadsheet, a cute Python hack…

December 3, 2004 | Python | By: Mark VandeWettering

The Python Cookbook has a new entry which I thought was especially clever, and perhaps the only really good use of eval that I’ve ever seen. It is a class which simulates a spreadsheet. It is clever because it uses a class which simulates a dictionary as an environment in which to evaluate expressions. Quite […]

Share Button

Python 2.4

November 30, 2004 | Python | By: Mark VandeWettering

Two things are occupying my mind this morning: the first: an internal reminder to pay my mortgage today, and the second is that Python 2.4 has been officially released. Notable changes in Python 2.4 include improvements to the importing of modules, function decorators, generator expressions, a number of new modules (including subprocess, decimal and cookielib) […]

Share Button