thread usage via python

thread usage via python