Using Google Visualization API with own data source

The Google Visualization API allows you to create charts and maps based on data you provide. This data can be in a Google Spreadsheet or be something you provide yourself. The visualizations themselves are mostly written in Javascript, although there are some written in Flash. In this article we will create an HTML page with […]

Using FANN with Python

In the previous article we showed how to install the FANN artificial neural network library on Ubuntu. In this article we will use the library. There are typically two parts in using artificial neural networks: A training part, where the neural network is trained with a training dataset. This dataset is chosen in such a […]

Installing FANN with Python bindings on Ubuntu

The Fast Artificial Neural Network Library (FANN) is a neural network library, which implements multilayer artificial neural networks in C with support for both fully connected and sparsely connected networks. It has a Python binding that allows you to use its functionality from within Python, but with the bits that need speed implemented in C. […]

Python SOAP client with suds

The library suds allows Python to make SOAP calls (that is, Python is the web service client). We start by installing the suds library on an Ubuntu machine. The Python setuptools are needed to install suds. sudo apt-get install python-setuptools Then we download, unpack and install suds. wget https://fedorahosted.org/releases/s/u/suds/python-suds-0.3.7.tar.gz tar -zxvf python-suds-0.3.7.tar.gz cd python-suds-0.3.7 sudo […]

Using Python to add new posts in WordPress

Wordpress is a web publishing platform, which allows you to add and edit content to your website. This can be done by visiting the administration interface, wp-admin. However, there is also an XML RPC programming interface that allows you to do the same from any programming language that supports this interface. In this short article […]

Threads in Python

A thread, sometimes called an execution context or a lightweight process, is a single sequential flow of control within a program. You use threads to isolate tasks. Each thread is a sequential flow of control within the same program. Each thread runs independently from the others, but at the same time. We want to run […]