Skip to content

How to change a thread name in Python?

#do this
import threading
threding.current_thread().name = "name_of_the_thread"
See also  Python code snippet - How to make levels in scratch?

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.