社å åãã tokibitoã®ç¥èãåã£ã¦ãã®ã§ããã£ã¨ããããç¥ããããªã社å ãã£ããã§ä»ã®äººã«ãèããã¨ã Python easy_install setuptoolsãdistributeã¨ããããã±ã¼ã¸ã§ä½¿ããã³ãã³ãã @aodag æ°ãsetuptools使ããã«ãdistribute使ãã¨ãã話ã ã¤ã³ã¹ãã¼ã«ã¯ãããªæãã $ curl -O http://python-distribute.org/distribute_setup.py $ python distribute_setup.pyWelcome to Distributeâs documentation! â Distribute documentation pip ããã±ã¼ã¸ã®ã¤ã³ã¹ãã¼ã«ã«ä½¿ããå¾è¿°ã®virutualenvã¨ãã使ããªãããã ã¤ã³ã¹ãã¼ã«ã¹ã¯ãªããã§å ¥ããããeasy_installãªã©
At PyCon I noticed the usual discussion of IDEs, editors, and programming environments. There seems to be some sort of strange equilibrium going on whereby programmers are constantly fussing, switching and growing discontented with their programming editors. I've used Emacs for almost 10 years now and other than a brief (forced) stint with CodeWarrior in college, it has been my primary editor for
ã¯ããã« ããã«ã¡ã¯ãPythonçã®ã»ã¼æ¥æ帳ã§ããRSSãªã¼ãã¼ãçºãã¦ããããªããPythonã使ã£ã¦Twitterã®ã³ãã³ãã©ã¤ã³ã¢ããªãä½ãè¦ããã®ãã¯ãã£ã¦ãã¿ãããªã®ã§ã¾ãã¦ã¾ãã¦ã¼ãã¨ããããã§æ¸ãã¾ããã ãªã³ã¯ tw.pyãå°ãæ¡å¼µãã¦ã¿ã - ã¸ã«ããºãã¦ï¼ æ¥ã åå¼·ã®ã¾ã¨ã è¯ããã®ãæªããã®ã: ã³ãã³ãã©ã¤ã³ã§åä½ããOAuth対å¿Twitterã¯ã©ã¤ã¢ã³ããPythonã§ä½ã£ã¦ã¿ã ã¨ããããä½ãæ£ãããã ymotongpoo/TwCmd · GitHub forkã§ãspoonã§ããªãã§ããã¦ãã ããã æºå Pythonã©ã¤ãã©ãª æè¿ã¯PyPIã«ä¾¿å©ããã±ã¼ã¸ãå¢ãã¾ãããããã§ãããã§ãããTwitterã§ã¿ã¤ã ã©ã¤ã³åå¾ãçºè¨ãããã ããªãtweepyã便å©ã ããOAuth 1.0対å¿ããã¨ã³ãã³ãã©ã¤ã³ã¢ããªã±ã¼ã·ã§ã³ã¯æ¨æºã¢ã¸ã¥ã¼ã«ã®cmdã¢ã¸ã¥
emacsã®python-modeã§ãauto-complete.elã使ã 2009.05.27 æ¥è¨ auto-complete, Emacs, google, Python, ubuntu ããªãã ã¯ãRç¨ã®auto-complete.elæ¡å¼µãæ¸ãã¦ã¿ãããã§ãããããã¾ã§æ¥ãã¨pythonéçºç°å¢ãemacsã«ãã¦ããããã ã¨ããããã§ãã©ãã«ã使ããããã«ãªã£ãã®ã§ãã¾ã¨ãã¦ã¿ã¾ããã¡ãªã¿ã«å½æ¹ã®ç°å¢ã¯32bit ubuntu9.04ã§ãã pythonéçºç°å¢ã®æ´å ãã®åã«ãpythonéçºç°å¢onãemacsã®æ´åããã å®ã¯ãemacsã¨pythonã®é¢ä¿ã¯ããªãããããããã¨ã«ãªã£ã¦ãã¾ãã¦emacs21æ代ã¯python-mode.elãªãpython-modeã主æµã ã£ããããªã®ã§ãããemacs22ã§ã¯python.elãªãpython-modeãããã©ã«ãã§
The Zen of Python, by Tim Peters Beautiful is better than ugly. Explicit is better than implicit. Simple is better than complex. Complex is better than complicated. Flat is better than nested. Sparse is better than dense. Readability counts. Special cases aren't special enough to break the rules. Although practicality beats purity. Errors should never pass silently. Unless explicitly silenced. In
Pythonã使ã£ãããã°ã©ãã³ã°ã«ã¤ãã¦ãä»åãã解説ãã¾ããPerlãRubyã¨æ¯ã¹ãã¨ãPythonã¯æ¥æ¬ã§ã¯ã¾ã ãã¤ãã¼ãªå°è±¡ãããã¾ããããGoogleä¸å¤§è¨èªãï¼C++ãJavaãPythonã®ãã¨ï¼ã®ã²ã¨ã¤ã§ããããFacebookãã¯ããã¨ããã¡ã¸ã£ã¼ãªãµã¤ãã§ã®äºä¾ãæ¥éã«å¢ãã¦ãããã¨ãããæ¥æ¬ã§ãä»å¾æ®åããå¯è½æ§ãé«ãã§ããç§ã社é·ããã¦ããã¼ãã¹ã¿ã¼ãã³ãã¥ãã±ã¼ã·ã§ã³ãºã¨ããä¼ç¤¾ã§ã¯ãè¨ç«å½æï¼4å¹´ã»ã©åï¼ããèªç¤¾è£½åã«ã¯Pythonã使ã£ã¦ãããããåå¹´éãå¨å²ã§Pythonã使ç¨ãã¦ããã±ã¼ã¹ãå¢ãã¦ããã®ã¯å¬ããéãã§ãã Pythonã«éãããããã°ã©ãã³ã°è¨èªãæ¥æ¬ã§æ®åãããã©ããã®éµãæ¡ã£ã¦ããã®ã¯ãï¼å¹¸ãä¸å¹¸ãï¼æ¥æ¬èªæ å ±ã®å¤å¯¡ã§ããã¨æãã¾ããRubyã®äºæ ã¯æ£ç´ãããããã¾ãããããã¨ãã°Perlãããã ãæ¥æ¬ã§ã¡ã¸ã£ã¼ã«ãªã£ãã®ã¯ãPerl
åæ© Macã«ã¯mixiãã©ãã¢ãããã¼ããç¡ãã£ãããmixi stationã®èª¿åãæªãã£ãããã¦é ã«æ¥ãã®ã§ãã¹ã¯ãªããã§åæ§ã®ã¢ããªã±ã¼ã·ã§ã³ãä½ã£ã¦ã¿ããã¨æã£ãã ã§ããç© WSSE.py ï¼ãã¡ã¤ã«å¾åï¼ ä½¿ãæ¹ ä¸éãã®ä½¿ãæ¹ã¯ãããªæãã mc = MixiClient('username','password') tracks = mc.getTracks() # 足ãã¨ã®åå¾ï¼10ä»¶ï¼ notify = mc.getNotify() # ãç¥ããã®åå¾ friends = mc.getFriends() # ãã¤ãã¯ä¸è¦§ã®åå¾ update = mc.getUpdates() # æ´æ°æ å ±ä¸è¦§ã®åå¾ albumurl = mc.createAlbum(u'æ è¡', u'æ è¡ã®åç') # æ°è¦ãã©ãã¢ã«ãã ã®ä½æ mc.postPicsToAlbum(['photo1
ããªããããPythonãä½ãåã®Guidoã«æä¾ã㦠- ããããªãµã¼ã - livedoor ãã¥ã¼ã¹ ãé¢ç½ãããã2ä½ã¨3ä½ã® ãã¹ã¦ãå¼ã«ãã lambdaã®æ§æãå¤ãã ã¯ãåãé¡ããå¥ã®è¨ãæ¹ã§ãã¦ããããªæ°ããããlambdaã«ifã¨forãå ¥ããããããªããã«ã¯ãifã¨forãå¼ã«ããããlambdaã«æãå ¥ãããã«ããããã©ã¡ããä¸æ¹ã ãã ããã¯ãã¦ããããã®ã¨ã³ããªã®æ¬é¡ã¯ããPythonã«ã¯selfãè¦ããã¨ããGuidoããã®ä¸»å¼µã«ã¤ãã¦ãå ·ä½ä¾ã§ç解ãããã¨ã§ãããããã ã£ããããã®ã«ãªãéã®è¦ç¹ãããselfããªãã¨ã©ãå°ãã®ãããèãã¾ãããã ããã§ãPythonã¨ã¯å¥ã®æ¯è¦ªããç£ã¾ããååãJavaScriptãä¾ã«ãthisã«ã¤ãã¦èãã¦ã¿ã¾ããPythonã«å¯¾ãã¦ãJavaScriptã¯ãã¡ã½ããå®ç¾©ã®ç¬¬ä¸å¼æ°ã«ä½åãªã¢ã¬ããªããã¨ããç¹å¾´ã§ããã
ç 究室ã§å ±æã½ããã¦ã§ã¢éçºããã¸ã§ã¯ããä¸æ°ã«ï¼ã¤ãããèµ°ãåºããããªã®ã§ãã¤ã³ãã©ã®æ´åã¨è¨ããã¨ã§Subversionã«ç¶ãã¦tracãã¤ã³ã¹ãã¼ã«ãããã¨ã«ããã*1æåportinstallãpkg_addãã¦ãå ¨ç¶æ¥ç¶ã§ããªãã¦ãããããfirewallã®ããã ããã¨ã¯æã£ããã ãã©ãèå¿ã®portsã«ä½¿ããã¼ãçªå·ãåãããªãã*2ä»æ¹ããªãã®ã§ã¨ããããfirewallåã£ã¦è¨å®éå§ãè¨å®ãçµãã£ããã¾ãfirewallç«ã¦ããã Tracæ¥æ¬èªçã¤ã³ã¹ãã¼ã«ã¡ã¢ - akiyan.com 管ç人ã¡ã¢ trac â takanory.net ã¾ãä¸æºåã¨ãã¦portsnap fetchã¨updateããã¦ããä¸è¨ã®ããã±ã¼ã¸ãã¤ã³ã¹ãã¼ã«ã #portinstall python #portinstall sqlite3 #portinstall databases/py-
Schemepy What is Schemepy? Schemepy is a Python module that enables you to embed a Scheme interpreter in your program. It supports various native Scheme implementations for speed. A fall back pure-Python implementation is also available when no suitable native implementations available. Download Schemepy 1.0.0 source (any platform) Schemepy 1.0.0 i386 deb package (Debian and Ubuntu) Document API:
æ¨æ¥ã®ã¨ã³ããªã®ã³ã¡ã³ãã«ã¦ã nishioãã¨ããããã¤ã³ã¹ãã¼ã«ãã¦ã¿ããã©ãªã«ãããã®ãããããããªã⦠bjamã¨ãããç¬èªã®ãã«ããã¼ã«ã使ãããã§æ¨æºã®distutilãæã£ã¦ããæ©è½(Windowsç¨ã¤ã³ã¹ãã¼ã©ãã³ãã³ã1è¡ã§ä½ããã¨ã)ã使ããªããªã£ã¦ãã¾ã£ã¦ããæ°ããããã (2007/06/11 12:33) earth2001yãbjamã¯boostèªä½ããã«ããã¤ã³ã¹ãã¼ã«ããã®ã«ä½¿ãã ãã§ããã以å¾ã¯é¢ä¿ãªãããdistuilãæ®éã«ä½¿ããã®ã§ãæ´çãã¦æ°ããã¨ã³ããªã«æ¸ãã¾ãããã (2007/06/11 18:46) ã£ã¦æ¸ããã®ã§ãBoostã®æºåããã¢ã¸ã¥ã¼ã«ã®ä½æãã¤ã³ã¹ãã¼ã«ã¾ã§ãé ã追ã£ã¦æ¸ãåºãã¦ã¿ã¾ããã Boostãã¤ã³ã¹ãã¼ã« ã¾ããBoostã®æºåãBoostã®ã½ã¼ã¹ã¨bjamãBoostã®é å¸å ããã¨ã£ã¦ãããBoosy.Pythonã¯
One of the things that I like about Django is that it allows you to run unit tests on the code with relative ease. So I have a bunch of unit tests now, and I was looking to expand it. For that I first needed to know which parts of the code had good coverage and which parts had no coverage. I needed to integrate code coverage with the unit testing framework. In the end, it involved modifying a few
ãµã¼ãã¹çµäºã®ãç¥ãã ãã¤ãYahoo! JAPANã®ãµã¼ãã¹ããå©ç¨ããã ãèª ã«ãããã¨ããããã¾ãã ã客æ§ãã¢ã¯ã»ã¹ããããµã¼ãã¹ã¯æ¬æ¥ã¾ã§ã«ãµã¼ãã¹ãçµäºãããã¾ããã ä»å¾ã¨ãYahoo! JAPANã®ãµã¼ãã¹ããæ顧ãã ããã¾ãããããããããé¡ããããã¾ãã
Introduction Related Articles You may also find useful the following articles on fetching web resources with Python : Basic Authentication A tutorial on Basic Authentication, with examples in Python. cookielib and ClientCookie How to handle cookies when fetching web-pages with urllib2. urllib2 is a Python module for fetching URLs (Uniform Resource Locators). It offers a very simple interface, in t
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}