human
I am working on the file "Programming/LANG_Python/2018-01-17_threading.ipynb".
The first task is:
Example 7: subclassing thread (complex)
Can you write Python program for it?
assistant
#Here is the Python program you requested.

# If you want to customize threads, 
# make instance attributes so that they can be seen.

logging.basicConfig(level=logging.DEBUG,
                    format='(%(threadName)-10s) %(message)s')

class AwesomeThreads(threading.Thread):
    def __init__(self, group=None, target=None, name=None,
                args=(), kwargs=None, daemon=None):
        # This redefining let you control threads and save values
        threading.Thread.__init__(self, group=group, target=target, 
                                  name=name, daemon=daemon)
        self.args = args
        self.kwargs = kwargs
        return
        
    def run(self):
        logging.debug('My args={}, My kwargs={}'.format(self.args, self.kwargs))
        return

for i in range(6):
    t = AwesomeThreads(args=(i,), kwargs={'하나':1, '둘':2})
    t.start()