{"id":316,"date":"2018-05-30T12:01:30","date_gmt":"2018-05-30T12:01:30","guid":{"rendered":"http:\/\/163.180.4.222\/lab\/?p=316"},"modified":"2018-05-30T12:01:30","modified_gmt":"2018-05-30T12:01:30","slug":"%ec%bb%b4%ed%93%a8%ed%84%b0-%ea%b4%80%eb%a0%a8-%ed%8c%8c%ec%9d%b4%ec%8d%ac%ec%9c%bc%eb%a1%9c-%ec%9e%91%ec%84%b1%ed%95%9c-tree-%ed%95%98%ec%9c%84-%eb%94%94%eb%a0%89%ed%86%a0%eb%a6%ac-%ea%b5%ac","status":"publish","type":"post","link":"https:\/\/biochemistry.khu.ac.kr\/lab\/?p=316","title":{"rendered":"\ucef4\ud4e8\ud130 \uad00\ub828 &#8211; \ud30c\uc774\uc36c\uc73c\ub85c \uc791\uc131\ud55c tree (\ud558\uc704 \ub514\ub809\ud1a0\ub9ac \uad6c\uc870\ub97c \ubcf4\uc5ec\uc90c) \ud30c\uc77c"},"content":{"rendered":"<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>import glob, os.path<br \/>\nndir = nfile = 0<\/p>\n<p>def traverse(dir, depth):<br \/>\n(space)global ndir, nfile<br \/>\n(space)for obj in glob.glob(dir + &#8216;\/*&#8217;):<br \/>\n(space)(space)if depth == 0:<br \/>\n(space)(space)(space)prefix = &#8216;|&#8211;&#8216;<br \/>\n(space)(space)else:<br \/>\n(space)(space)(space)prefix = &#8216;|&#8217; + &#8216; &#8216; * depth + &#8216;|&#8211;&#8216;<br \/>\n(space)(space)if os.path.isdir(obj):<br \/>\n(space)(space)(space)ndir += 1<br \/>\n(space)(space)(space)print(prefix + os.path.basename(obj))<br \/>\n(space)(space)(space)traverse(obj, depth + 1)<br \/>\n(space)(space)elif os.path.isfile(obj):<br \/>\n(space)(space)(space)nfile += 1<br \/>\n(space)(space)(space)print(prefix + os.path.basename(obj))<br \/>\n(space)(space)else:<br \/>\n(space)(space)(space)print(prefix + &#8216;unknown object :&#8217;, obj)<\/p>\n<p>if __name__ == &#8216;__main__&#8217;:<br \/>\n(space)traverse(&#8216;.&#8217;, 0)<br \/>\n(space)print(&#8216;\\n&#8217;, ndir, &#8216;directories,&#8217;, nfile, &#8216;files&#8217;)<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; &nbsp; &nbsp; import glob, os.path ndir = nfile = 0 def traverse(dir, depth): (space)global ndir, nfile (space)for obj in glob.glob(dir + &#8216;\/*&#8217;): (space)(space)if depth<a href=\"https:\/\/biochemistry.khu.ac.kr\/lab\/?p=316\" class=\"more-link\">(more&#8230;)<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[35,29],"tags":[9,3],"class_list":["post-316","post","type-post","status-publish","format-standard","hentry","category-lets-do-computer-science","category-lets-do-science","tag-lets-do-computer-science","tag-lets-do-science"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.9 - aioseo.com -->\n\t<meta name=\"description\" content=\"import glob, os.path ndir = nfile = 0 def traverse(dir, depth): (space)global ndir, nfile (space)for obj in glob.glob(dir + &#039;\/*&#039;): (space)(space)if depth == 0: (space)(space)(space)prefix = &#039;|--&#039; (space)(space)else: (space)(space)(space)prefix = &#039;|&#039; + &#039; &#039; * depth + &#039;|--&#039; (space)(space)if os.path.isdir(obj): (space)(space)(space)ndir += 1 (space)(space)(space)print(prefix + os.path.basename(obj)) (space)(space)(space)traverse(obj, depth + 1) (space)(space)elif os.path.isfile(obj):\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"biochemistry\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/biochemistry.khu.ac.kr\/lab\/?p=316\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.9\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Synthesis-Based BioFusion Technology Lab\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ucef4\ud4e8\ud130 \uad00\ub828 \u2013 \ud30c\uc774\uc36c\uc73c\ub85c \uc791\uc131\ud55c tree (\ud558\uc704 \ub514\ub809\ud1a0\ub9ac \uad6c\uc870\ub97c \ubcf4\uc5ec\uc90c) \ud30c\uc77c \u2014 Synthesis-Based BioFusion Technology Lab\" \/>\n\t\t<meta property=\"og:description\" content=\"import glob, os.path ndir = nfile = 0 def traverse(dir, depth): (space)global ndir, nfile (space)for obj in glob.glob(dir + &#039;\/*&#039;): (space)(space)if depth == 0: (space)(space)(space)prefix = &#039;|--&#039; (space)(space)else: (space)(space)(space)prefix = &#039;|&#039; + &#039; &#039; * depth + &#039;|--&#039; (space)(space)if os.path.isdir(obj): (space)(space)(space)ndir += 1 (space)(space)(space)print(prefix + os.path.basename(obj)) (space)(space)(space)traverse(obj, depth + 1) (space)(space)elif os.path.isfile(obj):\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/biochemistry.khu.ac.kr\/lab\/?p=316\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/biochemistry.khu.ac.kr\/lab\/wp-content\/uploads\/2018\/06\/cropped-logoKHU-1-2.png\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/biochemistry.khu.ac.kr\/lab\/wp-content\/uploads\/2018\/06\/cropped-logoKHU-1-2.png\" \/>\n\t\t<meta property=\"og:image:width\" content=\"66\" \/>\n\t\t<meta property=\"og:image:height\" content=\"46\" \/>\n\t\t<meta property=\"article:tag\" content=\"let&#039;s do computer science!\" \/>\n\t\t<meta property=\"article:tag\" content=\"let&#039;s do science!\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2018-05-30T12:01:30+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2018-05-30T12:01:30+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"\ucef4\ud4e8\ud130 \uad00\ub828 \u2013 \ud30c\uc774\uc36c\uc73c\ub85c \uc791\uc131\ud55c tree (\ud558\uc704 \ub514\ub809\ud1a0\ub9ac \uad6c\uc870\ub97c \ubcf4\uc5ec\uc90c) \ud30c\uc77c \u2014 Synthesis-Based BioFusion Technology Lab\" \/>\n\t\t<meta name=\"twitter:description\" content=\"import glob, os.path ndir = nfile = 0 def traverse(dir, depth): (space)global ndir, nfile (space)for obj in glob.glob(dir + &#039;\/*&#039;): (space)(space)if depth == 0: (space)(space)(space)prefix = &#039;|--&#039; (space)(space)else: (space)(space)(space)prefix = &#039;|&#039; + &#039; &#039; * depth + &#039;|--&#039; (space)(space)if os.path.isdir(obj): (space)(space)(space)ndir += 1 (space)(space)(space)print(prefix + os.path.basename(obj)) (space)(space)(space)traverse(obj, depth + 1) (space)(space)elif os.path.isfile(obj):\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/biochemistry.khu.ac.kr\/lab\/wp-content\/uploads\/2018\/06\/cropped-logoKHU-1-2.png\" \/>\n\t\t<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t\t<meta name=\"twitter:data1\" content=\"biochemistry\" \/>\n\t\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/biochemistry.khu.ac.kr\\\/lab\\\/?p=316#article\",\"name\":\"\\ucef4\\ud4e8\\ud130 \\uad00\\ub828 \\u2013 \\ud30c\\uc774\\uc36c\\uc73c\\ub85c \\uc791\\uc131\\ud55c tree (\\ud558\\uc704 \\ub514\\ub809\\ud1a0\\ub9ac \\uad6c\\uc870\\ub97c \\ubcf4\\uc5ec\\uc90c) \\ud30c\\uc77c \\u2014 Synthesis-Based BioFusion Technology Lab\",\"headline\":\"\\ucef4\\ud4e8\\ud130 \\uad00\\ub828 &#8211; \\ud30c\\uc774\\uc36c\\uc73c\\ub85c \\uc791\\uc131\\ud55c tree (\\ud558\\uc704 \\ub514\\ub809\\ud1a0\\ub9ac \\uad6c\\uc870\\ub97c \\ubcf4\\uc5ec\\uc90c) \\ud30c\\uc77c\",\"author\":{\"@id\":\"https:\\\/\\\/biochemistry.khu.ac.kr\\\/lab\\\/?author=1#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/biochemistry.khu.ac.kr\\\/lab\\\/#person\"},\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/biochemistry.khu.ac.kr\\\/lab\\\/?p=316#articleImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/8cbad3eda97d15e98a2dc02d631112aefce45bb37c48d072147b5cfac78ce53e?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"biochemistry\"},\"datePublished\":\"2018-05-30T12:01:30+09:00\",\"dateModified\":\"2018-05-30T12:01:30+09:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/biochemistry.khu.ac.kr\\\/lab\\\/?p=316#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/biochemistry.khu.ac.kr\\\/lab\\\/?p=316#webpage\"},\"articleSection\":\"Let's Do Computer Science!, Let's Do Science!, Let's Do Computer Science!, Let's Do Science!\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/biochemistry.khu.ac.kr\\\/lab\\\/?p=316#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/biochemistry.khu.ac.kr\\\/lab#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/biochemistry.khu.ac.kr\\\/lab\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/biochemistry.khu.ac.kr\\\/lab\\\/?cat=29#listItem\",\"name\":\"Let's Do Science!\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/biochemistry.khu.ac.kr\\\/lab\\\/?cat=29#listItem\",\"position\":2,\"name\":\"Let's Do Science!\",\"item\":\"https:\\\/\\\/biochemistry.khu.ac.kr\\\/lab\\\/?cat=29\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/biochemistry.khu.ac.kr\\\/lab\\\/?cat=35#listItem\",\"name\":\"Let's Do Computer Science!\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/biochemistry.khu.ac.kr\\\/lab#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/biochemistry.khu.ac.kr\\\/lab\\\/?cat=35#listItem\",\"position\":3,\"name\":\"Let's Do Computer Science!\",\"item\":\"https:\\\/\\\/biochemistry.khu.ac.kr\\\/lab\\\/?cat=35\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/biochemistry.khu.ac.kr\\\/lab\\\/?p=316#listItem\",\"name\":\"\\ucef4\\ud4e8\\ud130 \\uad00\\ub828 &#8211; \\ud30c\\uc774\\uc36c\\uc73c\\ub85c \\uc791\\uc131\\ud55c tree (\\ud558\\uc704 \\ub514\\ub809\\ud1a0\\ub9ac \\uad6c\\uc870\\ub97c \\ubcf4\\uc5ec\\uc90c) \\ud30c\\uc77c\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/biochemistry.khu.ac.kr\\\/lab\\\/?cat=29#listItem\",\"name\":\"Let's Do Science!\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/biochemistry.khu.ac.kr\\\/lab\\\/?p=316#listItem\",\"position\":4,\"name\":\"\\ucef4\\ud4e8\\ud130 \\uad00\\ub828 &#8211; \\ud30c\\uc774\\uc36c\\uc73c\\ub85c \\uc791\\uc131\\ud55c tree (\\ud558\\uc704 \\ub514\\ub809\\ud1a0\\ub9ac \\uad6c\\uc870\\ub97c \\ubcf4\\uc5ec\\uc90c) \\ud30c\\uc77c\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/biochemistry.khu.ac.kr\\\/lab\\\/?cat=35#listItem\",\"name\":\"Let's Do Computer Science!\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/biochemistry.khu.ac.kr\\\/lab\\\/?author=1#author\",\"url\":\"https:\\\/\\\/biochemistry.khu.ac.kr\\\/lab\\\/?author=1\",\"name\":\"biochemistry\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/biochemistry.khu.ac.kr\\\/lab\\\/?p=316#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/8cbad3eda97d15e98a2dc02d631112aefce45bb37c48d072147b5cfac78ce53e?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"biochemistry\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/biochemistry.khu.ac.kr\\\/lab\\\/?p=316#webpage\",\"url\":\"https:\\\/\\\/biochemistry.khu.ac.kr\\\/lab\\\/?p=316\",\"name\":\"\\ucef4\\ud4e8\\ud130 \\uad00\\ub828 \\u2013 \\ud30c\\uc774\\uc36c\\uc73c\\ub85c \\uc791\\uc131\\ud55c tree (\\ud558\\uc704 \\ub514\\ub809\\ud1a0\\ub9ac \\uad6c\\uc870\\ub97c \\ubcf4\\uc5ec\\uc90c) \\ud30c\\uc77c \\u2014 Synthesis-Based BioFusion Technology Lab\",\"description\":\"import glob, os.path ndir = nfile = 0 def traverse(dir, depth): (space)global ndir, nfile (space)for obj in glob.glob(dir + '\\\/*'): (space)(space)if depth == 0: (space)(space)(space)prefix = '|--' (space)(space)else: (space)(space)(space)prefix = '|' + ' ' * depth + '|--' (space)(space)if os.path.isdir(obj): (space)(space)(space)ndir += 1 (space)(space)(space)print(prefix + os.path.basename(obj)) (space)(space)(space)traverse(obj, depth + 1) (space)(space)elif os.path.isfile(obj):\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/biochemistry.khu.ac.kr\\\/lab\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/biochemistry.khu.ac.kr\\\/lab\\\/?p=316#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/biochemistry.khu.ac.kr\\\/lab\\\/?author=1#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/biochemistry.khu.ac.kr\\\/lab\\\/?author=1#author\"},\"datePublished\":\"2018-05-30T12:01:30+09:00\",\"dateModified\":\"2018-05-30T12:01:30+09:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/biochemistry.khu.ac.kr\\\/lab\\\/#website\",\"url\":\"https:\\\/\\\/biochemistry.khu.ac.kr\\\/lab\\\/\",\"name\":\"Synthesis-Based BioFusion Technology Lab\",\"description\":\"in the Department of Chemistry at KHU\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/biochemistry.khu.ac.kr\\\/lab\\\/#person\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ucef4\ud4e8\ud130 \uad00\ub828 \u2013 \ud30c\uc774\uc36c\uc73c\ub85c \uc791\uc131\ud55c tree (\ud558\uc704 \ub514\ub809\ud1a0\ub9ac \uad6c\uc870\ub97c \ubcf4\uc5ec\uc90c) \ud30c\uc77c \u2014 Synthesis-Based BioFusion Technology Lab","description":"import glob, os.path ndir = nfile = 0 def traverse(dir, depth): (space)global ndir, nfile (space)for obj in glob.glob(dir + '\/*'): (space)(space)if depth == 0: (space)(space)(space)prefix = '|--' (space)(space)else: (space)(space)(space)prefix = '|' + ' ' * depth + '|--' (space)(space)if os.path.isdir(obj): (space)(space)(space)ndir += 1 (space)(space)(space)print(prefix + os.path.basename(obj)) (space)(space)(space)traverse(obj, depth + 1) (space)(space)elif os.path.isfile(obj):","canonical_url":"https:\/\/biochemistry.khu.ac.kr\/lab\/?p=316","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/biochemistry.khu.ac.kr\/lab\/?p=316#article","name":"\ucef4\ud4e8\ud130 \uad00\ub828 \u2013 \ud30c\uc774\uc36c\uc73c\ub85c \uc791\uc131\ud55c tree (\ud558\uc704 \ub514\ub809\ud1a0\ub9ac \uad6c\uc870\ub97c \ubcf4\uc5ec\uc90c) \ud30c\uc77c \u2014 Synthesis-Based BioFusion Technology Lab","headline":"\ucef4\ud4e8\ud130 \uad00\ub828 &#8211; \ud30c\uc774\uc36c\uc73c\ub85c \uc791\uc131\ud55c tree (\ud558\uc704 \ub514\ub809\ud1a0\ub9ac \uad6c\uc870\ub97c \ubcf4\uc5ec\uc90c) \ud30c\uc77c","author":{"@id":"https:\/\/biochemistry.khu.ac.kr\/lab\/?author=1#author"},"publisher":{"@id":"https:\/\/biochemistry.khu.ac.kr\/lab\/#person"},"image":{"@type":"ImageObject","@id":"https:\/\/biochemistry.khu.ac.kr\/lab\/?p=316#articleImage","url":"https:\/\/secure.gravatar.com\/avatar\/8cbad3eda97d15e98a2dc02d631112aefce45bb37c48d072147b5cfac78ce53e?s=96&d=mm&r=g","width":96,"height":96,"caption":"biochemistry"},"datePublished":"2018-05-30T12:01:30+09:00","dateModified":"2018-05-30T12:01:30+09:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/biochemistry.khu.ac.kr\/lab\/?p=316#webpage"},"isPartOf":{"@id":"https:\/\/biochemistry.khu.ac.kr\/lab\/?p=316#webpage"},"articleSection":"Let's Do Computer Science!, Let's Do Science!, Let's Do Computer Science!, Let's Do Science!"},{"@type":"BreadcrumbList","@id":"https:\/\/biochemistry.khu.ac.kr\/lab\/?p=316#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/biochemistry.khu.ac.kr\/lab#listItem","position":1,"name":"Home","item":"https:\/\/biochemistry.khu.ac.kr\/lab","nextItem":{"@type":"ListItem","@id":"https:\/\/biochemistry.khu.ac.kr\/lab\/?cat=29#listItem","name":"Let's Do Science!"}},{"@type":"ListItem","@id":"https:\/\/biochemistry.khu.ac.kr\/lab\/?cat=29#listItem","position":2,"name":"Let's Do Science!","item":"https:\/\/biochemistry.khu.ac.kr\/lab\/?cat=29","nextItem":{"@type":"ListItem","@id":"https:\/\/biochemistry.khu.ac.kr\/lab\/?cat=35#listItem","name":"Let's Do Computer Science!"},"previousItem":{"@type":"ListItem","@id":"https:\/\/biochemistry.khu.ac.kr\/lab#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/biochemistry.khu.ac.kr\/lab\/?cat=35#listItem","position":3,"name":"Let's Do Computer Science!","item":"https:\/\/biochemistry.khu.ac.kr\/lab\/?cat=35","nextItem":{"@type":"ListItem","@id":"https:\/\/biochemistry.khu.ac.kr\/lab\/?p=316#listItem","name":"\ucef4\ud4e8\ud130 \uad00\ub828 &#8211; \ud30c\uc774\uc36c\uc73c\ub85c \uc791\uc131\ud55c tree (\ud558\uc704 \ub514\ub809\ud1a0\ub9ac \uad6c\uc870\ub97c \ubcf4\uc5ec\uc90c) \ud30c\uc77c"},"previousItem":{"@type":"ListItem","@id":"https:\/\/biochemistry.khu.ac.kr\/lab\/?cat=29#listItem","name":"Let's Do Science!"}},{"@type":"ListItem","@id":"https:\/\/biochemistry.khu.ac.kr\/lab\/?p=316#listItem","position":4,"name":"\ucef4\ud4e8\ud130 \uad00\ub828 &#8211; \ud30c\uc774\uc36c\uc73c\ub85c \uc791\uc131\ud55c tree (\ud558\uc704 \ub514\ub809\ud1a0\ub9ac \uad6c\uc870\ub97c \ubcf4\uc5ec\uc90c) \ud30c\uc77c","previousItem":{"@type":"ListItem","@id":"https:\/\/biochemistry.khu.ac.kr\/lab\/?cat=35#listItem","name":"Let's Do Computer Science!"}}]},{"@type":"Person","@id":"https:\/\/biochemistry.khu.ac.kr\/lab\/?author=1#author","url":"https:\/\/biochemistry.khu.ac.kr\/lab\/?author=1","name":"biochemistry","image":{"@type":"ImageObject","@id":"https:\/\/biochemistry.khu.ac.kr\/lab\/?p=316#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/8cbad3eda97d15e98a2dc02d631112aefce45bb37c48d072147b5cfac78ce53e?s=96&d=mm&r=g","width":96,"height":96,"caption":"biochemistry"}},{"@type":"WebPage","@id":"https:\/\/biochemistry.khu.ac.kr\/lab\/?p=316#webpage","url":"https:\/\/biochemistry.khu.ac.kr\/lab\/?p=316","name":"\ucef4\ud4e8\ud130 \uad00\ub828 \u2013 \ud30c\uc774\uc36c\uc73c\ub85c \uc791\uc131\ud55c tree (\ud558\uc704 \ub514\ub809\ud1a0\ub9ac \uad6c\uc870\ub97c \ubcf4\uc5ec\uc90c) \ud30c\uc77c \u2014 Synthesis-Based BioFusion Technology Lab","description":"import glob, os.path ndir = nfile = 0 def traverse(dir, depth): (space)global ndir, nfile (space)for obj in glob.glob(dir + '\/*'): (space)(space)if depth == 0: (space)(space)(space)prefix = '|--' (space)(space)else: (space)(space)(space)prefix = '|' + ' ' * depth + '|--' (space)(space)if os.path.isdir(obj): (space)(space)(space)ndir += 1 (space)(space)(space)print(prefix + os.path.basename(obj)) (space)(space)(space)traverse(obj, depth + 1) (space)(space)elif os.path.isfile(obj):","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/biochemistry.khu.ac.kr\/lab\/#website"},"breadcrumb":{"@id":"https:\/\/biochemistry.khu.ac.kr\/lab\/?p=316#breadcrumblist"},"author":{"@id":"https:\/\/biochemistry.khu.ac.kr\/lab\/?author=1#author"},"creator":{"@id":"https:\/\/biochemistry.khu.ac.kr\/lab\/?author=1#author"},"datePublished":"2018-05-30T12:01:30+09:00","dateModified":"2018-05-30T12:01:30+09:00"},{"@type":"WebSite","@id":"https:\/\/biochemistry.khu.ac.kr\/lab\/#website","url":"https:\/\/biochemistry.khu.ac.kr\/lab\/","name":"Synthesis-Based BioFusion Technology Lab","description":"in the Department of Chemistry at KHU","inLanguage":"en-US","publisher":{"@id":"https:\/\/biochemistry.khu.ac.kr\/lab\/#person"}}]},"og:locale":"en_US","og:site_name":"Synthesis-Based BioFusion Technology Lab","og:type":"article","og:title":"\ucef4\ud4e8\ud130 \uad00\ub828 \u2013 \ud30c\uc774\uc36c\uc73c\ub85c \uc791\uc131\ud55c tree (\ud558\uc704 \ub514\ub809\ud1a0\ub9ac \uad6c\uc870\ub97c \ubcf4\uc5ec\uc90c) \ud30c\uc77c \u2014 Synthesis-Based BioFusion Technology Lab","og:description":"import glob, os.path ndir = nfile = 0 def traverse(dir, depth): (space)global ndir, nfile (space)for obj in glob.glob(dir + '\/*'): (space)(space)if depth == 0: (space)(space)(space)prefix = '|--' (space)(space)else: (space)(space)(space)prefix = '|' + ' ' * depth + '|--' (space)(space)if os.path.isdir(obj): (space)(space)(space)ndir += 1 (space)(space)(space)print(prefix + os.path.basename(obj)) (space)(space)(space)traverse(obj, depth + 1) (space)(space)elif os.path.isfile(obj):","og:url":"https:\/\/biochemistry.khu.ac.kr\/lab\/?p=316","og:image":"https:\/\/biochemistry.khu.ac.kr\/lab\/wp-content\/uploads\/2018\/06\/cropped-logoKHU-1-2.png","og:image:secure_url":"https:\/\/biochemistry.khu.ac.kr\/lab\/wp-content\/uploads\/2018\/06\/cropped-logoKHU-1-2.png","og:image:width":66,"og:image:height":46,"article:tag":["let's do computer science!","let's do science!"],"article:published_time":"2018-05-30T12:01:30+00:00","article:modified_time":"2018-05-30T12:01:30+00:00","twitter:card":"summary_large_image","twitter:title":"\ucef4\ud4e8\ud130 \uad00\ub828 \u2013 \ud30c\uc774\uc36c\uc73c\ub85c \uc791\uc131\ud55c tree (\ud558\uc704 \ub514\ub809\ud1a0\ub9ac \uad6c\uc870\ub97c \ubcf4\uc5ec\uc90c) \ud30c\uc77c \u2014 Synthesis-Based BioFusion Technology Lab","twitter:description":"import glob, os.path ndir = nfile = 0 def traverse(dir, depth): (space)global ndir, nfile (space)for obj in glob.glob(dir + '\/*'): (space)(space)if depth == 0: (space)(space)(space)prefix = '|--' (space)(space)else: (space)(space)(space)prefix = '|' + ' ' * depth + '|--' (space)(space)if os.path.isdir(obj): (space)(space)(space)ndir += 1 (space)(space)(space)print(prefix + os.path.basename(obj)) (space)(space)(space)traverse(obj, depth + 1) (space)(space)elif os.path.isfile(obj):","twitter:image":"https:\/\/biochemistry.khu.ac.kr\/lab\/wp-content\/uploads\/2018\/06\/cropped-logoKHU-1-2.png","twitter:label1":"Written by","twitter:data1":"biochemistry","twitter:label2":"Est. reading time","twitter:data2":"1 minute"},"aioseo_meta_data":{"post_id":"316","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2022-09-28 14:19:36","updated":"2025-06-11 10:03:58","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/biochemistry.khu.ac.kr\/lab\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/biochemistry.khu.ac.kr\/lab\/?cat=29\" title=\"Let&apos;s Do Science!\">Let's Do Science!<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/biochemistry.khu.ac.kr\/lab\/?cat=35\" title=\"Let&apos;s Do Computer Science!\">Let's Do Computer Science!<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t\ucef4\ud4e8\ud130 \uad00\ub828 \u2013 \ud30c\uc774\uc36c\uc73c\ub85c \uc791\uc131\ud55c tree (\ud558\uc704 \ub514\ub809\ud1a0\ub9ac \uad6c\uc870\ub97c \ubcf4\uc5ec\uc90c) \ud30c\uc77c\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/biochemistry.khu.ac.kr\/lab"},{"label":"Let's Do Science!","link":"https:\/\/biochemistry.khu.ac.kr\/lab\/?cat=29"},{"label":"Let's Do Computer Science!","link":"https:\/\/biochemistry.khu.ac.kr\/lab\/?cat=35"},{"label":"\ucef4\ud4e8\ud130 \uad00\ub828 &#8211; \ud30c\uc774\uc36c\uc73c\ub85c \uc791\uc131\ud55c tree (\ud558\uc704 \ub514\ub809\ud1a0\ub9ac \uad6c\uc870\ub97c \ubcf4\uc5ec\uc90c) \ud30c\uc77c","link":"https:\/\/biochemistry.khu.ac.kr\/lab\/?p=316"}],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":318,"url":"https:\/\/biochemistry.khu.ac.kr\/lab\/?p=318","url_meta":{"origin":316,"position":0},"title":"\ucef4\ud4e8\ud130 \uad00\ub828 &#8211; \ud30c\uc774\uc36c\uc73c\ub85c \uc791\uc131\ud55c \uc778\uacf5\uc9c0\ub2a5 \uac8c\uc784 \ud30c\uc77c","author":"biochemistry","date":"May 30, 2018","format":false,"excerpt":"\u00a0 \u00a0 \u00a0 \ucf54\uc778 \uac8c\uc784\u00a0-- \ub9c8\uc9c0\ub9c9 \ucf54\uc778\uc744 \ube7c\ub294 \uc790\uac00 \uc9c0\ub294 \uac8c\uc784 \u00a0 # This is a variant of the Game of Bones recipe given in the easyAI library from easyAI import TwoPlayersGame, id_solve, Human_Player, AI_Player from easyAI.AI import TT class LastCoinStanding(TwoPlayersGame): (space)def __init__(self, players): # Define the players. Necessary parameter.\u2026","rel":"","context":"In &quot;Let's Do Computer Science!&quot;","block_context":{"text":"Let's Do Computer Science!","link":"https:\/\/biochemistry.khu.ac.kr\/lab\/?cat=35"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3300,"url":"https:\/\/biochemistry.khu.ac.kr\/lab\/?p=3300","url_meta":{"origin":316,"position":1},"title":"The NASA Twins Study: A multidimensional analysis of a year-long human spaceflight","author":"biochemistry","date":"April 14, 2019","format":false,"excerpt":"\u00a0 \u00a0 What to expect after a year in space \u00a0 Space is the final frontier for understanding how extreme environments affect human physiology. Following twin astronauts, one of which spent a year-long mission on the International Space Station, Garrett-Bakelman\u00a0et al.\u00a0examined molecular and physiological traits that may be affected by\u2026","rel":"","context":"In &quot;Let's Do Biology!&quot;","block_context":{"text":"Let's Do Biology!","link":"https:\/\/biochemistry.khu.ac.kr\/lab\/?cat=33"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2714,"url":"https:\/\/biochemistry.khu.ac.kr\/lab\/?p=2714","url_meta":{"origin":316,"position":2},"title":"Why are there so many laws of physics?","author":"biochemistry","date":"February 22, 2019","format":false,"excerpt":"\u00a0 \u00a0 The real theory of everything might be \u201cthe question to which the universe is the answer\u201d. Plus: why some US researchers are taking their gene-edited livestock abroad. \u00a0 A Different Kind of Theory of Everything Physicists used to search for the smallest components of the universe. What if\u2026","rel":"","context":"In &quot;Essays on Science&quot;","block_context":{"text":"Essays on Science","link":"https:\/\/biochemistry.khu.ac.kr\/lab\/?cat=32"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1189,"url":"https:\/\/biochemistry.khu.ac.kr\/lab\/?p=1189","url_meta":{"origin":316,"position":3},"title":"All together now\u2026fly!","author":"biochemistry","date":"July 20, 2018","format":false,"excerpt":"\u00a0 \u00a0 (\uc6d0\ubb38: \uc5ec\uae30\ub97c \ud074\ub9ad\ud558\uc138\uc694~) \u00a0 Science\u00a0\u00a020 Jul 2018: Vol. 361, Issue 6399, pp. 240 DOI: 10.1126\/science.361.6399.240-a \u00a0 \u00a0 \u00a0Open in new tab Long-exposure photo of a flight with multiple drones CREDIT: ZSOLT B\u00c9ZSENYI \u00a0 \u00a0 Can the quick, responsive grace of a flock of birds or school of fish\u2026","rel":"","context":"In &quot;Let's Do Computer Science!&quot;","block_context":{"text":"Let's Do Computer Science!","link":"https:\/\/biochemistry.khu.ac.kr\/lab\/?cat=35"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":878,"url":"https:\/\/biochemistry.khu.ac.kr\/lab\/?p=878","url_meta":{"origin":316,"position":4},"title":"The artist who walked on the Moon: Alan Bean","author":"biochemistry","date":"June 11, 2018","format":false,"excerpt":"\u00a0 \u00a0 (\uc6d0\ubb38) \u00a0 \u00a0 Richard Taylor pays tribute to the Apollo astronaut who beautifully meshed science and art. \u00a0 \u00a0 \u00a0 Apollo 12 astronaut Alan Bean\u2019s 1994 painting\u00a0Kissing the Earth\u00a0was inspired by the view as he and his team began their descent to the Moon in 1969. \u00a0 In\u2026","rel":"","context":"In &quot;Essays on Science&quot;","block_context":{"text":"Essays on Science","link":"https:\/\/biochemistry.khu.ac.kr\/lab\/?cat=32"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3241,"url":"https:\/\/biochemistry.khu.ac.kr\/lab\/?p=3241","url_meta":{"origin":316,"position":5},"title":"Walk the line (QUANTUM TECHNOLOGY)","author":"biochemistry","date":"April 8, 2019","format":false,"excerpt":"\u00a0 \u00a0 Qubits made from semiconductor quantum dots are a potential platform for future quantum computing. Although quantum gates with high fidelity have been demonstrated, the coupling of such qubits over distances, for example for use in quantum registers, remains a challenge. Mills et al. now show how they can\u2026","rel":"","context":"In &quot;Let's Do Chemistry!&quot;","block_context":{"text":"Let's Do Chemistry!","link":"https:\/\/biochemistry.khu.ac.kr\/lab\/?cat=34"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_sharing_enabled":false,"jetpack_shortlink":"https:\/\/wp.me\/p9Xo1j-56","_links":{"self":[{"href":"https:\/\/biochemistry.khu.ac.kr\/lab\/index.php?rest_route=\/wp\/v2\/posts\/316","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/biochemistry.khu.ac.kr\/lab\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/biochemistry.khu.ac.kr\/lab\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/biochemistry.khu.ac.kr\/lab\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/biochemistry.khu.ac.kr\/lab\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=316"}],"version-history":[{"count":0,"href":"https:\/\/biochemistry.khu.ac.kr\/lab\/index.php?rest_route=\/wp\/v2\/posts\/316\/revisions"}],"wp:attachment":[{"href":"https:\/\/biochemistry.khu.ac.kr\/lab\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=316"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/biochemistry.khu.ac.kr\/lab\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=316"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/biochemistry.khu.ac.kr\/lab\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=316"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}