You can use threading.enumerate() : Python documentation about it here
for thread in threading.enumerate():
print(thread.name)
You can use threading.enumerate() : Python documentation about it here
for thread in threading.enumerate():
print(thread.name)