{"id":1408,"date":"2013-11-24T18:25:12","date_gmt":"2013-11-24T18:25:12","guid":{"rendered":"http:\/\/brain.payzip.co.kr\/?p=1408"},"modified":"2013-11-24T18:25:12","modified_gmt":"2013-11-24T18:25:12","slug":"%ed%8c%8c%ec%9d%b4%ec%8d%ac-%ed%95%9c%ea%b8%80%ea%b4%80%eb%a0%a8","status":"publish","type":"post","link":"https:\/\/blog.goorigo.com\/?p=1408","title":{"rendered":"\ud30c\uc774\uc36c \ubb38\uc790\uc5f4 &#038; \ud55c\uae00\uad00\ub828"},"content":{"rendered":"<p><a href=\"http:\/\/biohackers.net\/wiki\/PythonAndHangul\">http:\/\/biohackers.net\/wiki\/PythonAndHangul<\/a><\/p>\n<p>&nbsp;<\/p>\n<p>capitalize()<br \/>\n\uccab \ubb38\uc790\ub97c \ub300\ubb38\uc790\ub85c, \ub098\uba38\uc9c0 \ubb38\uc790\ub97c \uc18c\ubb38\uc790\ub85c \ubc14\uafd4\uc900\ub2e4.<\/p>\n<div id=\"highlighter_404266\">\n<div>\n<div>\n<table>\n<tbody>\n<tr>\n<td><code>1<\/code><\/td>\n<td><code>\"PYTHON is powerful\"<\/code><code>.capitalize()<\/code><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<div>\n<table>\n<tbody>\n<tr>\n<td><code>2<\/code><\/td>\n<td><code>'Python is powerful'<\/code><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<\/div>\n<p>count(parameter, [start, [end]])<br \/>\nparameter\uac00 \uba87 \ubc88 \ud3ec\ud568\ub418\uc5b4 \uc788\ub294\uc9c0 \uc54c\ub824\uc900\ub2e4.<\/p>\n<div id=\"highlighter_784248\">\n<div>\n<div>\n<table>\n<tbody>\n<tr>\n<td><code>1<\/code><\/td>\n<td><code>\"python is powerful\"<\/code><code>.count(<\/code><code>'p'<\/code><code>)<\/code><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<div>\n<table>\n<tbody>\n<tr>\n<td><code>2<\/code><\/td>\n<td><code>2<\/code><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<\/div>\n<p>encode([encoding, [error]])<br \/>\nstr class\ub294 \uae30\ubcf8\uc801\uc73c\ub85c \ubaa8\ub450\u00a0\uc720\ub2c8\ucf54\ub4dc\uc774\ub2e4.<\/p>\n<div id=\"highlighter_96428\">\n<div>\n<div>\n<table>\n<tbody>\n<tr>\n<td><code>1<\/code><\/td>\n<td><code>\"\uac00\ub098\ub2e4\"<\/code><code>.encode(<\/code><code>'utf-8'<\/code><code>)<\/code><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<div>\n<table>\n<tbody>\n<tr>\n<td><code>2<\/code><\/td>\n<td><code>b<\/code><code>'\\xea\\xbo\\x80\\xeb\\x82\\x98\\xeb\\x8b\\xa4'<\/code><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<\/div>\n<p>endswith(postfix, [start,[end]])<br \/>\npostfix\ub85c \ubb38\uc790\uc5f4\uc774 \ub05d\ub098\uba74 True\ub97c \ubc18\ud658\ud558\uace0, \uadf8 \uc678\uc758 \uacbd\uc6b0\uc5d0\ub294 False\ub97c \ubc18\ud658<\/p>\n<div id=\"highlighter_200409\">\n<div>\n<div>\n<table>\n<tbody>\n<tr>\n<td><code>1<\/code><\/td>\n<td><code>\"python.py\"<\/code><code>.endswith(<\/code><code>'.py'<\/code><code>)<\/code><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<div>\n<table>\n<tbody>\n<tr>\n<td><code>2<\/code><\/td>\n<td><code>True<\/code><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<\/div>\n<p>postfix\uc5d0\ub294 tuple\ub85c\ub3c4 \uc0ac\uc6a9\uac00\ub2a5<\/p>\n<div id=\"highlighter_959986\">\n<div>\n<div>\n<table>\n<tbody>\n<tr>\n<td><code>1<\/code><\/td>\n<td><code>\"python.py\"<\/code><code>.endswith((<\/code><code>'.txt'<\/code><code>,<\/code><code>'.py'<\/code><code>))<\/code><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<div>\n<table>\n<tbody>\n<tr>\n<td><code>2<\/code><\/td>\n<td><code>True<\/code><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<\/div>\n<p>expandtabs([tabsize])<br \/>\ntab\uc744 \uacf5\ubc31\uc73c\ub85c \uce58\ud658\ud569\ub2c8\ub2e4. default tabsize\ub294 8.<\/p>\n<div id=\"highlighter_253899\">\n<div>\n<div>\n<table>\n<tbody>\n<tr>\n<td><code>1<\/code><\/td>\n<td><code>\"python\\tis\\tpowerful\"<\/code><code>.expandtabs()<\/code><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<div>\n<table>\n<tbody>\n<tr>\n<td><code>2<\/code><\/td>\n<td><code>'python\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 is\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 powerful'<\/code><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<div>\n<table>\n<tbody>\n<tr>\n<td><code>3<\/code><\/td>\n<td><code>\"python\\tis\\tpowerful\"<\/code><code>.expandtabs(<\/code><code>1<\/code><code>)<\/code><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<div>\n<table>\n<tbody>\n<tr>\n<td><code>4<\/code><\/td>\n<td><code>'python is powerful'<\/code><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<\/div>\n<p>find(keyword, [start, [end]])<br \/>\n\ubb38\uc790\uc5f4 keyword\uac00 \ub098\ud0c0\ub098\ub294 \uccab \ubc88\uc9f8 \uc778\ub371\uc2a4\ub97c \ubc18\ud658\ud55c\ub2e4.<\/p>\n<div id=\"highlighter_391873\">\n<div>\n<div>\n<table>\n<tbody>\n<tr>\n<td><code>1<\/code><\/td>\n<td><code>\"python is powerful\"<\/code><code>.find(<\/code><code>'p'<\/code><code>)<\/code><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<div>\n<table>\n<tbody>\n<tr>\n<td><code>2<\/code><\/td>\n<td><code>0<\/code><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<div>\n<table>\n<tbody>\n<tr>\n<td><code>3<\/code><\/td>\n<td><code>\"python is powerful\"<\/code><code>.find(<\/code><code>'pa'<\/code><code>)<\/code><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<div>\n<table>\n<tbody>\n<tr>\n<td><code>4<\/code><\/td>\n<td><code>-<\/code><code>1<\/code><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<\/div>\n<p>isalnum()<br \/>\n\uc54c\ud30c\ubcb3\uacfc \uc22b\uc790\ub85c \uc774\ub8e8\uc5b4\uc838 \uc788\uc73c\uba74 True, \uadf8 \uc774\uc678\uc758 \uac83\uc740 False<\/p>\n<div id=\"highlighter_87064\">\n<div>\n<div>\n<table>\n<tbody>\n<tr>\n<td><code>1<\/code><\/td>\n<td><code>\"python3\"<\/code><code>.isalnum()<\/code><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<div>\n<table>\n<tbody>\n<tr>\n<td><code>2<\/code><\/td>\n<td><code>True<\/code><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<\/div>\n<p>join(sequence)<br \/>\niterate \uac00\ub2a5\ud55c \uc785\ub825\uc778 sequence\ud615 \ubcc0\uc218\ub97c \uc9c0\uc815\ub41c \ubb38\uc790\uc5f4\ub85c \uc5f0\uacb0\ud558\uc5ec \ubc18\ud658\ud569\ub2c8\ub2e4.<\/p>\n<div id=\"highlighter_102328\">\n<div>\n<div>\n<table>\n<tbody>\n<tr>\n<td><code>1<\/code><\/td>\n<td><code>list<\/code>\u00a0<code>=<\/code>\u00a0<code>[<\/code><code>\"python\"<\/code><code>,\u00a0<\/code><code>\"is\"<\/code><code>,\u00a0<\/code><code>\"powerful\"<\/code><code>]<\/code><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<div>\n<table>\n<tbody>\n<tr>\n<td><code>2<\/code><\/td>\n<td><code>\",\"<\/code><code>.join(<\/code><code>str<\/code><code>(s)\u00a0<\/code><code>for<\/code>\u00a0<code>s\u00a0<\/code><code>in<\/code>\u00a0<code>list<\/code><code>)<\/code><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<div>\n<table>\n<tbody>\n<tr>\n<td><code>3<\/code><\/td>\n<td><code>'python,is,powerful'<\/code><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<\/div>\n<p>lstrip([chars])<br \/>\n\ubb38\uc790\uc5f4\uc758 \uc67c\ucabd\uc744 \uc798\ub77c\ub0c5\ub2c8\ub2e4.<\/p>\n<div id=\"highlighter_910850\">\n<div>\n<div>\n<table>\n<tbody>\n<tr>\n<td><code>1<\/code><\/td>\n<td><code>\"#python\"<\/code><code>.lstrip(<\/code><code>\"#\"<\/code><code>)<\/code><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<div>\n<table>\n<tbody>\n<tr>\n<td><code>2<\/code><\/td>\n<td><code>'python'<\/code><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<\/div>\n<p>replace(old, new, [count])<br \/>\nold\ub97c new\ub85c \ub300\uccb4\ud55c \uacb0\uacfc\ub97c \ubc18\ud658\ud569\ub2c8\ub2e4. count\ub97c \uc785\ub825\uc778\uc790\ub85c \uc900 \uacbd\uc6b0\uc5d0\ub294 count \ub9cc\ud07c\uc758 \ud69f\uc218\ub9cc \ub300\uccb4\ud55c\ub2e4.<\/p>\n<div id=\"highlighter_41066\">\n<div>\n<div>\n<table>\n<tbody>\n<tr>\n<td><code>1<\/code><\/td>\n<td><code>\"python is powerful\"<\/code><code>.replace(<\/code><code>\"p\"<\/code><code>,\u00a0<\/code><code>\"P\"<\/code><code>)<\/code><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<div>\n<table>\n<tbody>\n<tr>\n<td><code>2<\/code><\/td>\n<td><code>'Python is Powerful'<\/code><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<\/div>\n<p>rstrip([chars])<br \/>\n\ubb38\uc790\uc5f4\uc758 \uc624\ub978\ucabd\uc744 \uc798\ub77c\ub0c5\ub2c8\ub2e4. chars\uac00 \uc9c0\uc815\ub418\uc9c0 \uc54a\uc73c\uba74 \uacf5\ubc31\ubb38\uc790\ub97c \uc81c\uac70<\/p>\n<div id=\"highlighter_941628\">\n<div>\n<div>\n<table>\n<tbody>\n<tr>\n<td><code>1<\/code><\/td>\n<td><code>\"python.py\"<\/code><code>.rstrip(<\/code><code>\".py\"<\/code><code>)<\/code><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<div>\n<table>\n<tbody>\n<tr>\n<td><code>2<\/code><\/td>\n<td><code>'python'<\/code><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<\/div>\n<p>split([separator, [maxsplit]])<br \/>\n\ubb38\uc790\uc5f4\uc744 separator\ub85c \ubd84\ub9ac\ud55c\ub2e4.<\/p>\n<div id=\"highlighter_63183\">\n<div>\n<div>\n<table>\n<tbody>\n<tr>\n<td><code>1<\/code><\/td>\n<td><code>\"python is powerful\"<\/code><code>.split()<\/code><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<div>\n<table>\n<tbody>\n<tr>\n<td><code>2<\/code><\/td>\n<td><code>[<\/code><code>'python'<\/code><code>,\u00a0<\/code><code>'is'<\/code><code>,\u00a0<\/code><code>'powerful'<\/code><code>]<\/code><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<\/div>\n<p>startswith(prefix, [start, [end]])<br \/>\nprefix\ub85c \ubb38\uc790\uc5f4\uc774 \uc2dc\uc791\ud558\uba74 True\ub97c \ubc18\ud658\ud558\uace0 \uadf8 \uc678\uc758 \uacbd\uc6b0\uc5d0\ub294 False\ub97c \ubc18\ud658\ud55c\ub2e4.<\/p>\n<div id=\"highlighter_896251\">\n<div>\n<div>\n<table>\n<tbody>\n<tr>\n<td><code>1<\/code><\/td>\n<td><code>\"python is powerful\"<\/code><code>.startswith(<\/code><code>'py'<\/code><code>)<\/code><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<div>\n<table>\n<tbody>\n<tr>\n<td><code>2<\/code><\/td>\n<td><code>True<\/code><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<\/div>\n<p>strip([chars])<br \/>\n\ubb38\uc790\uc5f4\uc758 \uc591\ucabd \ub05d\uc744 \uc798\ub77c\ub0b8\ub2e4.<\/p>\n<div id=\"highlighter_56317\">\n<div>\n<div>\n<table>\n<tbody>\n<tr>\n<td><code>1<\/code><\/td>\n<td><code>\"\u00a0\u00a0\u00a0 python\u00a0\u00a0\u00a0 \"<\/code><code>.strip()<\/code><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<div>\n<table>\n<tbody>\n<tr>\n<td><code>2<\/code><\/td>\n<td><code>'python'<\/code><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<div><\/div>\n<div><\/div>\n<div><\/div>\n<div>\ucd9c\ucc98 :\u00a0<a href=\"http:\/\/snowple.tistory.com\/271\">http:\/\/snowple.tistory.com\/271<\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>http:\/\/biohackers.net\/wiki\/PythonAndHangul &nbsp; capitalize() \uccab \ubb38\uc790\ub97c \ub300\ubb38\uc790\ub85c, \ub098\uba38\uc9c0 \ubb38\uc790\ub97c \uc18c\ubb38\uc790\ub85c \ubc14\uafd4\uc900\ub2e4. 1 &#8220;PYTHON is powerful&#8221;.capitalize() 2 &#8216;Python is powerful&#8217; count(parameter, [start, [end]]) parameter\uac00 \uba87 \ubc88 \ud3ec\ud568\ub418\uc5b4 \uc788\ub294\uc9c0 \uc54c\ub824\uc900\ub2e4. 1 &#8220;python is&hellip; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/blog.goorigo.com\/index.php?rest_route=\/wp\/v2\/posts\/1408"}],"collection":[{"href":"https:\/\/blog.goorigo.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.goorigo.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.goorigo.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.goorigo.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1408"}],"version-history":[{"count":0,"href":"https:\/\/blog.goorigo.com\/index.php?rest_route=\/wp\/v2\/posts\/1408\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.goorigo.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1408"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.goorigo.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1408"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.goorigo.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1408"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}