Help us understand the problem. What are the problem?
ããªããããPythonãä½ãåã®Guidoã«æä¾ã㦠- ããããªãµã¼ã - livedoor ãã¥ã¼ã¹ ãé¢ç½ãããã2ä½ã¨3ä½ã® ãã¹ã¦ãå¼ã«ãã lambdaã®æ§æãå¤ãã ã¯ãåãé¡ããå¥ã®è¨ãæ¹ã§ãã¦ããããªæ°ããããlambdaã«ifã¨forãå ¥ããããããªããã«ã¯ãifã¨forãå¼ã«ããããlambdaã«æãå ¥ãããã«ããããã©ã¡ããä¸æ¹ã ãã ããã¯ãã¦ããããã®ã¨ã³ããªã®æ¬é¡ã¯ããPythonã«ã¯selfãè¦ããã¨ããGuidoããã®ä¸»å¼µã«ã¤ãã¦ãå ·ä½ä¾ã§ç解ãããã¨ã§ãããããã ã£ããããã®ã«ãªãéã®è¦ç¹ãããselfããªãã¨ã©ãå°ãã®ãããèãã¾ãããã ããã§ãPythonã¨ã¯å¥ã®æ¯è¦ªããç£ã¾ããååãJavaScriptãä¾ã«ãthisã«ã¤ãã¦èãã¦ã¿ã¾ããPythonã«å¯¾ãã¦ãJavaScriptã¯ãã¡ã½ããå®ç¾©ã®ç¬¬ä¸å¼æ°ã«ä½åãªã¢ã¬ããªããã¨ããç¹å¾´ã§ããã
protobuf - Google Code Google ãçºè¡¨ããç´ æµãªç´ æµãª Protocol Buffers ã å人çã«ã¯ããªãè¯ãå°è±¡ã以ä¸ãã¥ã¼ããªã¢ã«çµäºã¾ã§ã®æµãã ã¤ã³ã¹ãã¼ã«ç·¨ $ cd ~/src $ curl -O http://protobuf.googlecode.com/files/protobuf-2.0.0beta.tar.bz2 $ tar xvfj protobuf-2.0.0beta.tar.bz2 $ cd protobuf-2.0.0beta $ ./configure --prefix=/opt/google $ make $ sudo make install $ cd python $ export PATH=/opt/google/bin:$PATH $ sudo /opt/local/bin/python setup.py insta
difflib(2.1以é)ã®HtmlDiff(2.4以é)ã使ãã¨ã2ã¤ã®ããã¹ãã®å·®åãåå¾ãã¦ãHTMLã§ç°¡åã«åºåã§ãããè¡åä½ã ãã§ãªããæååä½ã®å·®åãæ示ãã¦ãããã®ã§ä¾¿å©ã withã¹ãã¼ãã¡ã³ã(2.5以é)ã使ãã¨ããããªæãã from __future__ import with_statement from difflib import HtmlDiff df = HtmlDiff() with open('filename1') as f: f1 = f.readlines() with open('filename2') as f: f2 = f.readlines() with open("diff.html", "w") as f: f.writelines(df.make_file(f1, f2))ãã¾ãã«ç°¡åããã¦æ»ã¬ãã¨æã£ãã (追è¨)æ¥æ¬èªå¯¾å¿ã«
6/30ã®Python Workshop the Edge 2007ã«åå ãã¦ãã¾ããã楽ããã£ãã§ããã¼ã ã§ãææ³ã¯ã¨ãããã¨ãã¦ãã©ã¤ããã³ã°ãã¼ã¯ã¹ããã£ãã®ã§ãããæ¥é½é£ã³å ¥ãã§ãã¼ã¯ã¹ãããã¦ããã ãã¾ãããããããã¼ã«ã¼ã®æ¸å·ããã«ããããã¦ã話ããããã¿ããã£ãã®ã§ãã¤ãã¤ãããã£ã¨ãªã£ã¦ãæ¥ãªãé¡ãã«å¯¾å¿ãã¦ããã ãã¦ãã»ãã¨ã«ãããã¨ããããã¾ããï¼ã¹ã¿ããã®çæ§ ããã¦è³æãªããããã¤ãã®ãã©ã¦ã¶ã®ç»é¢ã¨äººæ§ã®ãã¬ã¼ã³è³æ(!)ã§ãã£ãã®ã§ããããã£ãããªã®ã§è³ææ´çã¨ããããå 容紹ä»ã¨ãããããããªãã¼ã¯ã¹ã§ãããã¨ãããã¨ãæ¸ãã¦ã¿ããã¨æãã¾ããããã¹ã£ãããã«æ¸ãã¦ã¾ããããã®éãããã¹ã£ãããã§ã¯ãªãã§ã(èªåã§ãããè¦ãã¦ãªã)ã èªå·±ç´¹ä» ãããã©ããããã£ãæ¥ã«ãé¡ããã¦ããã¼ã¯ã¹ã«åå ããã¦ããããã¨ã«ãªãã¾ãããæ¥ã ã£ãã®ã§è³æããªãã¦ãã¿ã¾ããã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}