Category Archives: Python

03/16/2010

An extensible Python plugin framework

There’s this Python chat bot/IRC bot framework that I have been working on for over a year and half now (very slow progress). Most of the work has gone into thinking about the extensible plugin framework. It’s worthy to consider … Continue reading

1 Comment


02/21/2010

Now your mouse cursor supports SVG

I redid a program in Python I made a few years ago that controlled the mouse pointer to “draw” a raster image by moving the pointer around and automatically clicking, pixel by pixel. However, this time, I decided to add … Continue reading

Post a comment or response


04/06/2009

Quick Twisted Flash policy file server

Here’s a quick Adobe Flash policy file server that uses Python’s Twisted framework. The Flash policy file is required for Adobe Flash to let your Flash movies access cross domain resources (and other things too).

Post a comment or response


10/25/2008

Spoofing a UDP packet in Python

The packets are constructed using the pyip module. The following code doesn’t calculate the UDP checksum, as the checksums that pyip generate don’t appear to be correct. Your system should take care of that. import udp import socket # build … Continue reading

10 Comments