Pythonã«ã¯sprintfã£ã½ããã¨ãã§ãã%æ¼ç®åã£ã¦è¨ãã®ãããï¼ããã¯æ®éã®sprintfã£ã½ããã©ã¼ãããæååã®ã®å¾ã«å¤æ°ä¸¦ã¹ã使ãæ¹ãã§ããï¼ããã«ä¾¿å©ãªä½¿ãæ¹ããã£ã¦ï¼è¾æ¸ã渡ãã¦è¾æ¸ã®ãã¼ããã¨ã«æååã®ãã©ã¼ããããã§ãã¦ï¼ >>> print "%(name)s is %(age)d years old." % {'name':'yohei', 'age':21 } yohei is 21 years old.ãããªããªã§ï¼è¾æ¸ãæºåãã¦ããã°ããªãæè»ã«æååãã©ã¼ããããã§ãã¦ä¾¿å©ï¼ ããã¨åããããªãã¨ãPerlã§ãã§ããªããã¨æ¢ãã¦ãããï¼å¶ç¶String::Fortmatã£ã¦ããã¢ã¸ã¥ã¼ã«ãè¦ã¤ããã®ã§å©ç¨ãã¦ã¿ããï¼ String::Formatã¢ã¸ã¥ã¼ã«ãæä¾ããstringfé¢æ°ã¯ãã©ã¼ãããæååã¨ï¼ããã·ã¥ã®ãªãã¡ã¬ã³ã¹ãå¼æ°ã«ã¨ãï¼ãã®ããã·ã¥
{{#tags}}- {{label}}
{{/tags}}