jwzthreading ¼øÀ§ ¹× ¿ä¾à
- °Ô½ÃÀÚ À̸§:
- A.M. Kuchling
- °Ô½ÃÀÚ À¥»çÀÌÆ®:
- http://amk.ca
jwzthreading ű×
jwzthreading ¼³¸í
¸ÞÀÏ ¸Þ½ÃÁö ½º·¹µùÀ»À§ÇÑ ¾Ë°í¸®Áò JWZThreadingÀº ¸Þ½ÃÁö °´Ã¼ ¸ñ·ÏÀ» »ç¿ëÇÏ´Â thread () ÇÔ¼ö¸¦ Æ÷ÇÔÇÕ´Ï´Ù. ¸Þ½ÃÁö´ÂÀÌ ¸ðµâ¿¡¼ Á¤ÀÇ µÈ Ŭ·¡½ºÀ̸ç RFC822.Message Ŭ·¡½º°¡ ¾Æ´ÑÀÌ ¸ðµâ¿¡ Á¤ÀÇ µÈ Ŭ·¡½ºÀÔ´Ï´Ù. rfc822.message °´Ã¼¸¦ »ç¿ëÇÏ´Â make_message () ÇÔ¼ö°¡ÀÖ¾î 'ÂüÁ¶ :'¹× 'reply-to :'Çì´õ¸¦º¸°í jwzthreading.message °´Ã¼¸¦ ¹ÝȯÇÕ´Ï´Ù. thread ()´Â »çÀü ¸ÅÇÎ Á¦¸ñ ÁÙÀ» ½º·¹µå ¸Þ½ÃÁö°¡ Æ÷ÇÔ µÈ Æ®¸®ÀÇ ·çÆ® ÀÎ ÄÁÅ×ÀÌ³Ê °´Ã¼¿¡ ¹ÝȯÇÕ´Ï´Ù. BASH-2.05A $ PythonPython 2.3A0 (# 6, # 6, 2002, 11:59:34) ÀÚ¼¼ÇÑ ³»¿ëÀº Linux2Type "Help", "Copyright", "Credits"¶Ç´Â "¶óÀ̼¾½º"¿¡¼ jwzThreadingÀ¸·Î JWZ·Î °¡Á® ¿À±â >>> M1 = JWZ.Message () >>> m1.message = "¸Þ½ÃÁö º»¹®, ¿ÀºêÁ§Æ®, ¶Ç´Â ¹¹µçÁö">>> m1.subject = 'ÁÖÁ¦'>>> m1.message_id = "id_a">>> m2 = jwz.message ()> >> m2.message_id = 'id_b'; m2.references = >>> M2.SUBJECT = 'RE : Á¦¸ñ'>>> d = jwz.thread () >>> ¹Ýȯ °ª ¹Ýȯ °ª ¸ÊÀº ÄÁÅ×À̳ʿ¡ Á¦¸ñ ¹®ÀÚ¿À» { ' ÁÖÁ¦ ': <ÄÁÅ×ÀÌ³Ê 401f370c : <¸Þ½ÃÁö :'id_a '>>} >>> root = d # ½º·¹µåÀÇ ·çÆ® ¾ò±â >>> root.message # jwz.message´Â .message·Î jwz.message°¡ ÀÖ½À´Ï´Ù. .. <¸Þ½ÃÁö : 'id_a'>>>>> root.Children # ... ±×¸®°í ¾î¸°ÀÌ ¸ñ·Ï. [<ÄÁÅ×ÀÌ³Ê 401f35ec : <¸Þ½ÃÁö : 'id_b'>>>> ¿ä±¸ »çÇ× : ¡¤ ÆÄÀ̽ã
jwzthreading °ü·Ã ¼ÒÇÁÆ®¿þ¾î