-
How to install piksemel module
piksemel is a easy to use python XML parser, based on iksemel. Not: If you’re using Pardus, piksemel is preinstalled on your system. Not: If you’re using Windows, before you continue make sure you’ve already installed mingw32 to your system and its directory is included in PATH. Steps for Linux users: Download the package from…
-
WikiLeaks Cablegate Count v2
Since the official WikiLeaks page has changed, the previous script needs to be updated. Here it is: Please remember to install piksemel module.
-
WikiLeaks Cablegate Count
Today, I wrote a small script to get the count of released WikiLeaks cables. Actually, it’s extremely small. Just two lines of code. Generally, I don’t code like this. But I wanted to write it quick (5 minutes?) and keep it short. It uses piksemel to parse the page. Enjoy!
-
Show forecast using Yahoo! Weather
Note: This snippet uses piksemel module to parse XML files. If you don’t have it, read this article to install it. First of all, you need the WOEID (Where on Earth Identification) of the city. In order to learn it, go to http://weather.yahoo.com and search for the city. You’ll find the WOEID at the end…