import os
import threading
print(f'Python process running with process id: {os.getpid()}')
= threading.active_count()
total_threads = threading.current_thread().name
thread_name
print(f'Python is currently running {total_threads} thread(s)')
print(f'The current thread is {thread_name}')