Custom Search

Thursday, October 10, 2013

Python How to Find name of a thread

>>>
>>>
>>> import threading
>>>
>>> threading.currentThread().getName()
'MainThread'
>>>
>>>

No comments:

Post a Comment