{"id":8636,"date":"2019-11-26T07:24:46","date_gmt":"2019-11-25T22:24:46","guid":{"rendered":"http:\/\/www.gisdeveloper.co.kr\/?p=8636"},"modified":"2020-05-28T09:54:06","modified_gmt":"2020-05-28T00:54:06","slug":"python%ec%97%90%ec%84%9c-tqdm-%eb%9d%bc%ec%9d%b4%eb%b8%8c%eb%9f%ac%eb%a6%ac%eb%a5%bc-%ec%9d%b4%ec%9a%a9%ed%95%9c-%ec%9e%91%ec%97%85%ec%a7%84%ed%96%89%eb%a5%a0-%ed%91%9c%ec%8b%9c","status":"publish","type":"post","link":"http:\/\/www.gisdeveloper.co.kr\/?p=8636","title":{"rendered":"Python\uc5d0\uc11c tqdm \ub77c\uc774\ube0c\ub7ec\ub9ac\ub97c \uc774\uc6a9\ud55c \uc791\uc5c5\uc9c4\ud589\ub960 \ud45c\uc2dc"},"content":{"rendered":"<p>\ub2e4\uc74c\uacfc \uac19\uc740 \ucf54\ub4dc\uac00 \uc788\ub2e4\uace0 \ud558\uc790.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"python\">\r\nfrom time import sleep\r\n\r\nfor i in range(1, 600):\r\n    sleep(0.1) # \ubb34\uc5b8\uac00 \uc2dc\uac04\uc774 \ub9ce\uc774 \uc18c\uc694\ub418\ub294 \uc5f0\uc0b0\uad70\r\n<\/pre>\n<p>for \ubb38 \uc548\uc5d0 \uc2dc\uac04\uc774 \ub9ce\uc774 \uc18c\uc694\ub418\ub294 \ucf54\ub4dc\uac00 \uc788\uc744 \ub54c \uc5bc\ub9c8\ub9cc\ud07c \uc9c4\ud589\ub418\ub294\uc9c0\uc5d0 \ub300\ud55c \ud53c\ub4dc\ubc31\uc744 \uc0ac\uc6a9\uc790\uc5d0\uac8c \uc8fc\uc9c0 \ubabb\ud558\uba74 \uc0ac\uc6a9\uc790\ub294 \uc544\ub9c8\ub3c4 ^C\ub97c \ub204\ub974\uac70\ub098 ^@Del\uc744 \ub20c\ub7ec \ud504\ub85c\uc138\uc2a4\ub97c \uac15\uc81c \uc885\ub8cc\ud560\uc9c0\ub3c4 \ubaa8\ub978\ub2e4. \uc774\ub7f4\ub54c \uc0ac\uc6a9\uc790\uc5d0\uac8c \ud53c\ub4dc\ubc31\uc744 \uc904 \ud544\uc694\uac00 \uc788\ub294\ub370 \uc774\ub54c \ub9e4\uc6b0 \uac04\ub2e8\ud558\uace0 \ud6a8\uacfc\uc801\uc73c\ub85c \uc9c4\ud589\uc0c1\ud669\uc744 \ud53c\ub4dc\ubc31\uc73c\ub85c \uc81c\uacf5\ud560 \uc218 \uc788\ub294 tqdm \ub77c\uc774\ube0c\ub7ec\ub9ac\uac00 \uc788\ub2e4.<\/p>\n<p>\uc0ac\uc6a9\uc740 \ub2e4\uc74c\ucc98\ub7fc for \ubb38\uc758 in \uad6c\ubb38\uc744 tqdm\uc73c\ub85c \uac10\uc2f8\uae30\ub9cc \ud558\uba74 \ub05d.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"python\">\r\nfrom tqdm import tqdm\r\nfrom time import sleep\r\n\r\nfor i in tqdm(range(1, 600)):\r\n    sleep(0.1) # \ubb34\uc5b8\uac00 \uc2dc\uac04\uc774 \ub9ce\uc774 \uc18c\uc694\ub418\ub294 \uc5f0\uc0b0\uad70\r\n<\/pre>\n<p>\uadf8\ub7ec\uba74 \uc544\ub798\ucc98\ub7fc \uc9c4\ud589\uc0c1\ud669\uc5d0 \ub300\ud55c \uc815\ubcf4\uac00 \ud6a8\uacfc\uc801\uc73c\ub85c \uc2dc\uac01\ud654\ub41c\ub2e4.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.gisdeveloper.co.kr\/wp-content\/uploads\/2019\/11\/tqdm.png\" alt=\"\" width=\"1951\" height=\"68\" class=\"aligncenter size-full wp-image-8638\" \/><\/p>\n<p>\uc704\uc758 \uc9c4\ud589\uc0c1\ud0dc\uc5d0 \ub300\ud55c \uc815\ubcf4\uc5d0\uc11c 43%\ub294 \uc9c4\ud589\ub960, 257\/599\ub294 \uc804\uccb4 599\ubc88 \uc911 \ud604\uc7ac 257\ubc88\uc9f8 \uc791\uc5c5 \uc218\ud589\uc911, 00:27<00:36\uc740 \uc804\uccb4 \uc791\uc5c5 \uc644\ub8cc\uae4c\uc9c0 \ub0a8\uc740 \uc2dc\uac04\uc740 36\ucd08\uc774\uba70 \ud604\uc7ac 27\ucd08 \uacbd\uacfc\ub418\uc5c8\ub2e4\ub294 \uac83, 9.35it\/s\ub294 1\ucd08\ub2f9 \ud3c9\uade0 9.35\ubc88\uc758 \ubc18\ubcf5\uc744 \uc218\ud589\ud588\ub2e4\ub294 \uac83\uc5d0 \ub300\ud55c \uc815\ubcf4\ub2e4. \ucc38\uace0\ub85c tqdm\uc740 \uc544\ub78d\uc5b4\ub85c Progress\ub77c\ub294 \uc758\ubbf8(taqadum, \u062a\u0642\u062f\u0651\u0645)\ub77c\uace0 \ud55c\ub2e4.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\ub2e4\uc74c\uacfc \uac19\uc740 \ucf54\ub4dc\uac00 \uc788\ub2e4\uace0 \ud558\uc790. from time import sleep for i in range(1, 600): sleep(0.1) # \ubb34\uc5b8\uac00 \uc2dc\uac04\uc774 \ub9ce\uc774 \uc18c\uc694\ub418\ub294 \uc5f0\uc0b0\uad70 for \ubb38 \uc548\uc5d0 \uc2dc\uac04\uc774 \ub9ce\uc774 \uc18c\uc694\ub418\ub294 \ucf54\ub4dc\uac00 \uc788\uc744 \ub54c \uc5bc\ub9c8\ub9cc\ud07c \uc9c4\ud589\ub418\ub294\uc9c0\uc5d0 \ub300\ud55c \ud53c\ub4dc\ubc31\uc744 \uc0ac\uc6a9\uc790\uc5d0\uac8c \uc8fc\uc9c0 \ubabb\ud558\uba74 \uc0ac\uc6a9\uc790\ub294 \uc544\ub9c8\ub3c4 ^C\ub97c \ub204\ub974\uac70\ub098 ^@Del\uc744 \ub20c\ub7ec \ud504\ub85c\uc138\uc2a4\ub97c \uac15\uc81c \uc885\ub8cc\ud560\uc9c0\ub3c4 \ubaa8\ub978\ub2e4. \uc774\ub7f4\ub54c \uc0ac\uc6a9\uc790\uc5d0\uac8c \ud53c\ub4dc\ubc31\uc744 \uc904 \ud544\uc694\uac00 \uc788\ub294\ub370 \uc774\ub54c \ub9e4\uc6b0 &hellip; <\/p>\n<p class=\"link-more\"><a href=\"http:\/\/www.gisdeveloper.co.kr\/?p=8636\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;Python\uc5d0\uc11c tqdm \ub77c\uc774\ube0c\ub7ec\ub9ac\ub97c \uc774\uc6a9\ud55c \uc791\uc5c5\uc9c4\ud589\ub960 \ud45c\uc2dc&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[131],"tags":[],"class_list":["post-8636","post","type-post","status-publish","format-standard","hentry","category-python"],"_links":{"self":[{"href":"http:\/\/www.gisdeveloper.co.kr\/index.php?rest_route=\/wp\/v2\/posts\/8636","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.gisdeveloper.co.kr\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.gisdeveloper.co.kr\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.gisdeveloper.co.kr\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.gisdeveloper.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=8636"}],"version-history":[{"count":6,"href":"http:\/\/www.gisdeveloper.co.kr\/index.php?rest_route=\/wp\/v2\/posts\/8636\/revisions"}],"predecessor-version":[{"id":9348,"href":"http:\/\/www.gisdeveloper.co.kr\/index.php?rest_route=\/wp\/v2\/posts\/8636\/revisions\/9348"}],"wp:attachment":[{"href":"http:\/\/www.gisdeveloper.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=8636"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.gisdeveloper.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=8636"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.gisdeveloper.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=8636"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}