My work computer is pretty restricted. I don't get any admin privileges at all. This is occasionally a real problem, like when I need something for development. But usually it's only a pain; although my browser's Java plugin only supports 1.4, I can't imagine a business case when I need a better one; after all, we're developing a real application, not an applet.
One such pain is the text in XScreenSaver. It's using uptime to provide text for the Star Wars screensaver and similar text-based modules, which is just boring. I'm allowed to specify a command that will produce text output, like fortune, but I'd like to get an RSS feed. And since xscreensaver-text isn't installed, all I can use is elinks, which puts raw HTML in the output.
So, being the Alpha Geek, I learned enough Python to read a feed. It's installed by default, but the Universal Feed Parser isn't. I had to figure out how to manipulate the module search path, read the arguments, and traverse and combine lists and dictionaries. No biggie. The source to my python "screenfeed" script is available if you read more.
Continue reading "Alpha Geek Learns Python for Star Wars..." »


