Python 2.6.x for seq function added