2009-03-01ãã1ã¶æéã®è¨äºä¸è¦§
MiCHiLU Labs. {% for o in some_list %} <tr class="{% cycle 'odd' 'even' %}"> hogehoge </tr> {% endfor %}ããã¯ã便å©ã
ããããã¾ã¨ã¾ã£ããµã¤ããç¨æããã®ã¯ããããªã 使ã£ããã¨ããªããã©ãå¾ã§èªãã
ã¨ããã³ã³ãµã«ã¿ã³ãã®ã¤ã¶ãã Part 1. Windows ãã©ã¼ã ã®ãã«ãã¹ã¬ããå¦çã®åºç¤ - ã¨ããã³ã³ãµã«ã¿ã³ãã®ã¤ã¶ãã - Site Home - MSDN Blogs ï¼æååãããã®ã¯ãªãï¼ï¼ï¼ï¼ ã¨ã¦ã詳ããæ¸ããã¦ããè¨äºãããè¨ãã°ãå ¥ç¤¾å¾ãå 輩ã«æãã¦ããã£â¦
ããã¸ã§ã¯ãæ¯ã«ãªãã¿ããã ããã¸ã§ã¯ãã®ããããã£ã§è¨å®ãUTF-8ãé¸ã¶ã¨å®éã¯UTF-8Nã®ããã ã ã ãã©ãããã§ãæååãããããã¼ããPythonã®éçºç°å¢ããPyScripterãã 移è¡ãããã¨æã£ã¦ããã ãã«ï½¥ï½¥ï½¥ãã¾ã ãæ©ãã®ããããã¨ãèªåã®ä½¿ãæ¹â¦
ä»äºã§Djangoãå©ç¨ãããæ¸ç±ãèªãã ããå®éåããã¦ã¿ããã¨è©¦ãã¦ããã®ã§ ããç¨åº¦ã¯åããåãã£ã¦ããããå®éãä½ã£ã¦ã¿ã¦ãããã¼ãã¨é£çºã ç°¡åã¨ãããã便å©ã ã楽ã ãã æ±ç¨ãã¥ã¼ãªããç¹ã«ãããããã§ã»ã¨ãã©çµãã£ã¡ãããããããã â¦
ãªãã»ã©ã 404 Not Found % æ¼ç®åã®å³å´ã®å¼æ°ãè¾æ¸ã®å ´å (ã¾ãã¯ãã®ä»ã®ãããåã®å ´å)ã æååä¸ã®ãã©ã¼ãããã«ã¯ãè¾æ¸ã«æ¿å ¥ããã¦ãããã¼ã丸æ¬å¼§ã§å²ããæå "%" ã®ç´å¾ã«ããããã«ãããã®ãå«ã¾ãã¦ããªããã° ãªãã¾ãã ãããããã¼â¦
æ°å®¿ç´ä¼å½å±å館ã«ä¹ ãã¶ãã«è¡ã£ãã®ã§ã ãã¹ã¦ãããä»®æ³åå¤§å ¨2009 (æ¥çµBPã ãã¯)ä½è : ITproåºç社/ã¡ã¼ã«ã¼: æ¥çµBPåºçã»ã³ã¿ã¼çºå£²æ¥: 2008/10/04ã¡ãã£ã¢: 大åæ¬è³¼å ¥: 1人 ã¯ãªãã¯: 87åãã®ååãå«ãããã° (14件) ãè¦ã å®ç¨ä¾ãæ¸ããã¦ãâ¦
Python Database API Specification v2.0ã調ã¹ã¦ã¿ããã¿ãã«ã§æ¸¡ãã°è¯ãã®ãã ã¨ãããã¨ã¯ã >>> l = [] >>> l.append(1) >>> l.append(2) >>> l.append(3) >>> l.append(4) >>> l [1, 2, 3, 4] >>> t = tuple(l) >>> t (1, 2, 3, 4)ã§ãã¿ãã«åãããâ¦
æ¨å¹´ã®ä»é ã¯ãRuby ã§ç°¡åãªã¹ã¯ãªããã¯æ¸ãã¦ããã ãµã¼ãã«ã¯ãPerl, Python ãæ¨æºã§ã¤ã³ã¹ãã¼ã«ããã¦ãããã èªåã®ä½¿ç¨ãããµã¼ãã«ã¯ãRuby ã¯ã¤ã³ã¹ãã¼ã«ããã¦ããããæ¹ã㦠ã¤ã³ã¹ãã¼ã«ããå¿ è¦ããã£ãã®ã ããä¼ç¤¾ã®ã¢ããªã±ã¼ã·ã§ã³ãâ¦
DjangoÃPython (LLãã¬ã¼ã ã¯ã¼ã¯BOOKS)ä½è : é²æ¨èª åºç社/ã¡ã¼ã«ã¼: æè¡è©è«ç¤¾çºå£²æ¥: 2009/02/16ã¡ãã£ã¢: åè¡æ¬ï¼ã½ããã«ãã¼ï¼è³¼å ¥: 10人 ã¯ãªãã¯: 127åãã®ååãå«ãããã° (35件) ãè¦ããã°ãããå¸°å® éä¸ã®é»è»ã®ä¸ã§èªãã§ããããä»äºã§ä½¿â¦
ä¼ç¤¾ã§ãã£ãã¨ãã¯åããªãã£ããã ãã©ï½¥ï½¥ï½¥ >>> class A(object): ... def __init__(self): ... print "class a init" ... >>> class B(A): ... def __init__(self): ... print "class b init" ... super(B, self).__init__(self) ... >>> b = B() class b â¦
ãªãããself ã¤ããªãã¨ãã¾ãåããªãã£ãã
404 Not FoundNewsMLã¨ãããã©ã¼ããããæ±ãããã«ãæ¤ç´¢ãã¦ã¿ãã¨ãJava, Perl ã«ã¯ã©ã¤ãã©ãªã ããããã ã Syndication-NewsML-0.10 ä»åã¯ãPython ã§ããããã£ããããªãããã ã£ãã®ã§ãèªåã§ä½æãããã¨ã«ãUsing Non-Standard Encodings in â¦
ä»æºãã£ã¦ããããã¸ã§ã¯ãã¯ãèªç¤¾ãµã¼ãã¹ã«ãªãäºå®ãªã®ã ãã©ã ãµã¼ãæ§æãå¤æ´ãããã¨èãã¦ããã æ§æèªä½ã¯ãAPãµã¼ããDBãµã¼ããJOBãµã¼ãã®åç´ãªæ§æã®äºå®ã ä»ã«ã¯ã管çãµã¼ãã«é ä¿¡ãµã¼ããã ä»®æ³åã試ãããã¦ãXenãå©ç¨äºå®ã ä»®æ³â¦
ãã£ãã·ãã£ãã©ã³ãã³ã° â ãªã½ã¼ã¹ãæ大éã«æ´»ãããµã¤ãåæã»äºæ¸¬ã»é ç½®ä½è : John Allspaw,ä½è¤ç´ç,æ¨ä¸å²ä¹åºç社/ã¡ã¼ã«ã¼: ãªã©ã¤ãªã¼ã¸ã£ãã³çºå£²æ¥: 2009/03/19ã¡ãã£ã¢: ãã¼ãã¼ããã¯è³¼å ¥: 9人 ã¯ãªãã¯: 61åãã®ååãå«ãããã° (18件) â¦
å æ¥æ³¨æãã EOS D50 ãããããå±ããã ããããè¯ããæ ¼å¥½è¯ããç´ äººã ãã©ã Canon ãã¸ã¿ã«ä¸ç¼ã¬ãã«ã¡ã© EOS 50D EF-S18-200 IS ã¬ã³ãºããã EOS50D18200ISLKåºç社/ã¡ã¼ã«ã¼: ãã¤ãã³çºå£²æ¥: 2008/09/26ã¡ãã£ã¢: ã¨ã¬ã¯ãããã¯ã¹ ã¯ãªãã¯: 26â¦
å¾¹åºææ¦ä½è : å æ±è²´æåºç社/ã¡ã¼ã«ã¼: éè±ç¤¾çºå£²æ¥: 2009/03/05ã¡ãã£ã¢: åè¡æ¬ï¼ã½ããã«ãã¼ï¼è³¼å ¥: 17人 ã¯ãªãã¯: 397åãã®ååãå«ãããã° (131件) ãè¦ã blog ãèªãã§ãã¦çºå£²ãç¥ã£ãããããããè³¼å ¥ããã 帰ãã®é»è»ã§èªãã ããæãããâ¦
zfill(n)ã使ãã°ãããããã >>>"1".zfill(5) '00001'
åºæ¬ã¨ã¯ä½ãï¼ã¨ããç¹ã¯é£ãããã©ã ã¾ãã¯ãä½æ°ãªãã¤ã³ã¹ãã¼ã«ãèµ·åããã¦ããWebãµã¼ãã§ããApacheã® ããã¥ã¢ã«ãä¸éãèªãã§ã¿ãããã¼ã¿ãã¼ã¹ã®PostgreSQLããããã 次ã«ãWebãµã¼ãã¹ã«ã¤ãã¦ãåå¼·ããããªã«ããï¼ã¨ããã¨ãã£ã±ãæ´å²ãâ¦