Archive for category: Python

One dimensional cellular automata code in Python..

July 9, 2015 | Computer Science, Math, Python | By: Mark VandeWettering

Inspired by the KnitYak Kickstarter, I thought I would code up a simple Python program that could generate the same sort of patterns that are used in the scarves in the video. If you want to learn more about the mathematical theory of these cellular automata, google for keywords like “1D” “cellular automata” and “steve […]

Increasing pyephem’s accuracy for satellite rise/set calculations…

March 8, 2015 | Amateur Satellite, Amateur Science, Python | By: Mark VandeWettering

A few years ago, I created my own Python implementation of the Plan13 satellite prediction code written by James Miller (G3RUH). The Plan13 algorithm isn’t very complicated: you can easily run it on processors like the Arduino (in fact, I used it for my ANGST satellite tracker) But somehow, I managed to misplace the source […]

You reeky, motley-minded mammet!

October 14, 2014 | Python | By: Mark VandeWettering

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

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 forecast.io 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 […]

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 […]

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 […]

Passing the Amateur Extra test by guessing…

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

IN

Use Your iPod shuffle without Using iTunes – The Unofficial Apple Weblog – apple.weblogsinc.com _

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.

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.

flickr.py

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.

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.

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 […]

pypod

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.

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.

TinyP2P

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 […]