the sample apps do not run on Py3k
Merge pull request #782 from tshepang/notPy3k

the sample apps do not run on Py3k