誰ããæãã¦ããã£ãã®ãå¿ãããã©ããã¡ã¤ã«ã®å¤æ´ãç£è¦ãã¦ä½ãå¦çãè¡ã£ããã§ããwatchdogã¨ããPythonã¢ã¸ã¥ã¼ã«ã試ãã¦ã¿ããè¯ãæãã ã£ãã http://pypi.python.org/pypi/watchdog ã¤ã³ã¹ãã¼ã« PyPIã«ç»é²ããã¦ããã®ã§easy_installã§ã¤ã³ã¹ãã¼ã«ã§ããã > easy_install watchdog watchmedoã³ãã³ãã®ä½¿ãæ¹ watchdogãã¤ã³ã¹ãã¼ã«ããã¨watchmedoã¨ããã³ãã³ãã使ããã watchmedoã³ãã³ãã¯ããã¡ã¤ã«ã®å¤æ´ããã£ãéã«ã³ãã³ããå®è¡ããããããã¨ãã§ããã試ããç°å¢ã¯WindowsXPã ä¾ãã°ã«ã¬ã³ããã£ã¬ã¯ããªä»¥ä¸ã®æ¡å¼µåãrstã®ãã¡ã¤ã«ã®å¤æ´ããã£ãå ´åã«ãSphinxã®make htmlãå®è¡ãããªããããªæãã > watchmedo shell-comma
ãNginxããã¦ã³ã¿ã¤ã ã»ã¼ãã§å ¥ãæ¿ããæ¹æ³ãã§æ¸ããããã«ã/usr/local/nginx/ ã®Nginxã version 1.0.13 ã«æ´æ°ãã¾ãããããã¨ã¯å¥ã«ãcatyã¨ããã¦ã¼ã¶ã¼ã¢ã«ã¦ã³ãã®ãã¼ã ãã£ã¬ã¯ããªå ã«Nginxãã¤ã³ã¹ãã¼ã«ãã¦ãNginx+uWSGIã¨Catyã®å®é¨ããããã¨ãã¦ãã¾ãã Nginx+uWSGIã¯ãCatyã«éããä¸è¬çãªWSGIã¢ããªã±ã¼ã·ã§ã³ã稼åãããè¯ãç°å¢ãæä¾ãã¾ããç°¡åã«ç´¹ä»ãã¾ãããã å å®¹ï¼ WSGIã¨uWSGI ãªã Nginx+uWSGI ã«ããã®ã uWSGIã«ã¤ãã¦å°ã ã¤ã³ã¹ãã¼ã« ã¨ããããåããã¦ã¿ã ã½ã¬ããªã«åããã¦ã¿ã ããã»ã¹ã®å¶å¾¡ãªã© WSGIã¨uWSGI WSGIï¼Web Server Gateway Interfaceï¼*1ã¯ãPythonã§æ¸ãããWebã¢ããªã±ã¼ã·ã§ã³ã¨ã¢ããªã±ã¼ã·ã§ã³ãµã¼
pythonbrewã«ãããã¬ãã·ãã«ãªPythonç°å¢ã®æ§ç¯ Vimã®è¨å®ã¨ãã¯ãã¾ãé¢ä¿ãªãã§ããæå¼·ãè© ãããã«æå¼·ã®Pythonç°å¢ãå¿ è¦ãªã®ã§æ§ç¯ãã¾ããæå¼·ã®ç°å¢ã¨ã¯ ã¤ã³ã¹ãã¼ã«ããã¦ããPythonã®ãã¼ã¸ã§ã³ãéããã¨ã«ãã£ã¦ä¸å¯è§£ãªãã°ãçºçããªã ã¤ã³ã¹ãã¼ã«ããã¦ããã©ã¤ãã©ãªã®ãã¼ã¸ã§ã³ãéããã¨ã«ä¸å¯ï¼ï½ï½ ã¤ã³ã¹ãã¼ã«ããã¦ããã©ã¤ãã©ãªå士ãå¹²æ¸ãã¦ä¸å¯è§£ãªï¼ï½ï½ ã ã¨æã£ã¦ãã¾ãããããã解決ããããã« pythonbrew ã¨ããç´ æ´ãããã½ãããå©ç¨ãã¾ãã ãã ãã®ã½ããã¯ã·ã§ã«ãåæã¨ãªã£ã¦ããã®ã§Windowsãã使ãã®æ¹ã¯ä»£ããã« virtualenv ãã¤ã³ã¹ãã¼ã«ãã¦å ã«é²ãã§ãã ããã Pythonã«ã¯å¤§ããåãã¦2.xç³»ã¨3.xç³»ã®å¤§ããªãã¼ã¸ã§ã³ãããããã®äºã¤ã¯ç¸å®¹ããªããã®ã¨ãªã£ã¦ãã¾ãã 2.xç³»ã¯ãã£ã¨ä½¿ããã¦ãããã®ã§å¤é¨ã©
ãã£ã¨ããã¾ã§æ¥ã¾ããããFlaskã¨DropboxAPIã§Dropboxãã©ã«ãã®ãã¡ã¤ã«ä¸è¦§ãã¼ã¸ãä½ã£ã¦ã¿ã¾ãããã ããã ï¼ï¼æ¦è¦ ä»åæ¸ããã¨ã«ã¤ãã¦ã®èª¬æããã¾ãã ï¼ï¼DropboxAPIã«ã¤ã㦠DropboxAPIãã©ããªãã®ããã©ãããä»çµã¿ã§åãã¦ããã®ãã«ã¤ãã¦èª¬æãã¾ãã ï¼ï¼DropboxAPIã使ãæºåããã pythonããDropboxAPIã使ãããã«å¿ è¦ãªç°å¢ã®æºåããã¾ãã ï¼ï¼ãµã³ãã«ããã°ã©ã ãä½ã ï¼ã§ä½æããç°å¢ã使ã£ã¦ãµã³ãã«ããã°ã©ã ãä½ãã¾ãã ï¼ï¼flaskã使ã£ã¦ã¦ã§ãã¢ããªãä½æ ã¦ã§ããã¬ã¼ã ã¯ã¼ã¯ã®flaskã使ã£ã¦ã¦ã§ãã¢ããªãä½ãç·´ç¿ããã¾ãã ï¼ï¼Dropboxã®ãã©ã«ãä¸è¦§ãä½ããï¼ã¼ä»åã¯ã³ã¬ flaskãå©ç¨ãã¦ãDropboxã®ãã©ã«ãä¸è¦§ã表示ããã¦ã§ãã¢ããªãä½ãã¾ãã ï¼ï¼dotc
Redmonã¯Rubyã§ä½ãããRedis管çã¢ããªã±ã¼ã·ã§ã³ã§ãã æè¿ã§ã¯Redisã使ã£ããªã¼ãã³ã½ã¼ã¹ã»ã½ããã¦ã§ã¢ãå¢ãã¦ãã¾ãããããã§èªåã§ãRedisã使ã£ã¦ã¿ããã¨èãã¦ãã人ã¯è©¦ãã¦ã»ããã®ãRedmonã§ãããªã¢ã«ã¿ã¤ã ã¢ãã¿ãªã³ã°æ©è½ä»ãã®Redis管çãã¼ã«ã§ãã ã©ã¤ãã¢ãã¿ãªã³ã°ã®ç»é¢ã§ãã ãªã¢ã«ã¿ã¤ã ã«æ´æ°ããã¦ããã¾ãã ã³ãã³ãã©ã¤ã³ã¤ã³ã¿ãã§ã¼ã¹ã§ãã ãã¼ã®ä¸è¦§ãåºåãã¾ããã get/set/delãã§ãã¾ãã Redmonã使ãã°Redisèªä½ã®ã¹ãã¼ã¿ã¹ãã¡ã¢ãªç¶æ³ãªã©ãå¿ è¦ãªæ å ±ãä¸ç®ã§åããããã«ãªãã¾ãããã¼ã¿ã®ç®¡çããããã¨ããã®ã¨ã¯ã¡ãã£ã¨éãããç¥ãã¾ããã便å©ãªã¢ããã³ãã¼ã«ã§ãã Redmonã¯Ruby製ã®ãªã¼ãã³ã½ã¼ã¹ã»ã½ããã¦ã§ã¢ã§ãã MOONGIFTã¯ããè¦ã Redisãã¯ãããMongoDBãCouchDBãªã©ãã
YATTSUKE BLOG ãªããé³æ¥½ãè±èªãPythonã¨ãã®ä»æãç¡ãããã°ã ã£ãã®ã§ãããæµ·å¤ã§æ®ããã¦ãã¨ãã©ã³ãã大統é ã«ãªã£ã¦ããæ¥æ¬ã¨è±èªåã®æ¸©åº¦å·®ãé ·ãã®ã§æ¿æ²»ã®è©±ããã¤ãã¿ã¼ã§ãã¦ã¾ãããã§ã2020年大統é é¸æã§ä¿å®æ´¾è«é£ã¢ã«ã¦ã³ãã¨å ±ã«åçµããã¹ã¯ããã¤ãã¿ã¼è²·åã§ï¼ä»£ç®ããããã復活ãç¾å¨ãæ¿æ²»ã®éã話ã¯noteã«æ¸ãã¦ã¾ããã³ã³ãã°ã¯PCã¨ãPythonãLinuxãé³æ¥½ã¸æ»ãã ããã㸠ãã¼ã¸ã§ã³ã0.11ã«ãªã£ã¦æ°ãã«Qtã使ã£ãGUIã«ãã£ã¦è¡¨ç¾åãå¢ããã³ã³ã½ã¼ã«ã使ããããã«ãªã£ãiPythonã試ãã¾ãããã®ãã¼ã¸ã§ã³ã®å¤æ´ç¹ã®ç®çã¯ã ãã«ãã©ã¤ã³ã®å ¥åãå¯è½ããªã¿ã¼ã³ã®ä»£ããã«ã³ã³ããã¼ã«ï¼ãªã¿ã¼ã³ã§ç¶ãã¦å ¥åã§ããã Qtã®GUIã§ãã£ãè¯ããªã£ãã³ã³ã½ã¼ã«ã¸ãããããåè¾¼ããã¨ãå¯è½ã Python3ã«ãå¯¾å¿ ã®ï¼ç¹ã§ãããã«ãã©ã¤ã³ããªãè¯
pythonbrewã¨virtualenvã使ã£ã¦Pythonã®éçºç°å¢ãæ´ãã¦ã¿ã¾ããã ãã¼ã«ã®è©³ãã説æã¯ããªã³ã¯å ãè¦ã¦ãã ããã¨ãããã¨ã§ã¯ã¶ãã¾ãã ç¶ãã¾ããâ ãã®ï¼ 対象 ç°å¢ï¼LinuxãFreeBSDãªã©ãBourne Shellç³»ï¼bash, ksh, zshã¯ç¢ºèªæ¸ã¿ï¼ 人ï¼Pythonã¤ã³ã¿ããªã¿ã®ã¤ã³ã¹ãã¼ã«ãæåã§ããããªãä¸ã«è¤æ°ã®ãã¼ã¸ã§ã³ãåãæ¿ãã¦ä½¿ããã人ã ï¼ï¼pythonbrewã®ã¤ã³ã¹ãã¼ã« ãã£ããè¨ã£ã¦ãPythonã¤ã³ã¿ããªã¿ã®ã¤ã³ã¹ãã¼ã«ã楽ã«ãããã¼ã«ã§ãã ããããªãã¨ããã®ã¨ã³ããªã®æå³ãåãããªãã®ã§ãã¨ããããã¤ã³ã¹ãã¼ã«æ¹æ³ã®è§£èª¬ãããã¦ããããã¨æãã¾ãã 以ä¸ã®ã³ãã³ããå®è¡ããã¨ãpythonbrewä¸å¼ãã¤ã³ã¹ãã¼ã«ããã¾ãã $ curl -kL http://github.com/utahta/pythonbr
éãå²ã¿ã®ä¸ã«ãã©ãã°ããããããã¨ã¢ãããã¼ãããããããã©ãã°ããããAPIã®ããã«ã¹ãã¼ã¹ãç¨æããã£ã¦ããã®ã¯ãªãããã¾ãã¡ã ãªããããã¡ãã£ã¨æ´ç·´ããããã©ãã°ããããã®ã¤ã³ã¿ã¼ãã§ã¼ã¹ã¯ãªããã®ããã ãã£ã¬ã¯ããªæ§æ from flask import Flask, request, url_for, render_template, make_response import os DEBUG = True SECRET_KEY = 'development key' UPLOAD_FOLDER = 'static/uploads' ALLOWED_EXTENSIONS = set(['txt', 'pdf', 'png', 'jpg', 'jpeg', 'gif']) app = Flask(__name__) app.config.from_object(__name__
pythonããã°ãã触ã£ã¦ãªããã®ã§ãªãããªããæ°æã§seleniumã®ãããããwebdriverãã¤ãã£ã¦ã¿ãã Webã¢ããªã±ã¼ã·ã§ã³ã®ãã¹ãã«ãããã使ã£ã¦ããããããã¾ãã¯åæ©ã®åæ©ãããããï¼ï¿£âï¿£ ï¼ ã¹ãã¼ã¿ã¹ãã¼ã®å³å´ã«ãWebDriverãã¨è¡¨ç¤ºããã¦ããã ã¨ãããããã©ã¼ã ã®å ¥åã«ã¤ãã¦ã®åè¦ç´ ã§ã®æä½ã«æ £ãããã æºå ãã¡ããåç §â selenium · PyPI ã³ã¼ã ã¾ãã¯HTMLãã¡ã¤ã«ããã¡ããDancerçã§ç°¡åãªãã©ã¼ã ä½ãæ¹ããããããªã ã¾ããè¶ ææãã«éçHTMLwww <html> <head> </head> <body> <form method="post" action="" id="form1"> <p> name: <input type="text" name="name"> </p> <p> bloodtype: <inp
GUI æä½ã®èªåå㯠AutoIt ã UWSC ãªã©ã使ãã¨å¯è½ã§ãããé¸æè¢ã¨ã㦠Python + pywinauto ãããããããã¾ããã Python ã¯ã¦ã§ãéçºãã¹ã¯ãªãããPySide ãªã©ãå©ç¨ãã GUI éçºã«ã使ãã¾ãããã®ãã Python ã使ãã° GUI ã®èªåå以å¤ã«ãæ§ã ãªéçºãè¡ããã¨ãã§ããããã«ãªãã¾ãã ã¤ã³ã¹ãã¼ã« Python 2.7.1 å ¬å¼ã® Python ã§ã ActivePython ã§ã OKã å ã ã®é¢åãèãã㨠ActivePython ã便å©ãããããªã ctypes ãå©ç¨ã§ãã Python 2.5 以ä¸ã使ãã㨠C:\Python27 ã«ãã¹ãéã distribute ã pip ãå ¥ãã¦ããã¨ä¾¿å©ããããä»åã¯ä½¿ããªã pywinauto 0.4.0 easy_install ã ã¨å¤ããã¼ã¸ã§ã³ãå ¥ã£ã¦ãã¾ãã®
ãã¯ã·ã³ã¯ã©ã¹ã¯ UDPServer ã§å®ç¾©ãããã¡ã½ããããªã¼ãã©ã¤ãããããã«ã å ã«æ¥ãªããã°ãªãã¾ãããæ§ã ãªã¡ã³ãå¤æ°ãè¨å®ãããã¨ã§å ã«ãªããµã¼ãæ©æ§ã®æ¯ãèããå¤ãããã¾ãã ãµã¼ãã¹ã®å®è£ ã«ã¯ã BaseRequestHandler ããã¯ã©ã¹ãæ´¾çããã¦ãã® handle() ã¡ã½ãããåå®ç¾©ããªããã°ãªãã¾ããããã®ããã«ããã°ããµã¼ãã¯ã©ã¹ã¨è¦æ±å¦çã¯ã©ã¹ãçµåãã¦æ§ã ãªãã¼ã¸ã§ã³ã®ãµã¼ãã¹ã å®è¡ãããã¨ãã§ãã¾ããè¦æ±å¦çã¯ã©ã¹ã¯ãã¼ã¿ã°ã©ã ãµã¼ãã¹ãã¹ããªã¼ã ãµã¼ãã¹ãã§ç°ãªããã¨ã§ãããããã®éãã¯å¦çãµãã¯ã©ã¹ StreamRequestHandler ã¾ã㯠DatagramRequestHandler ã使ãã¨ããå½¢ã§é è½ã§ãã¾ãã ãã¡ãããã¾ã é ã使ããªããã°ãªãã¾ãã! ãã¨ãã°ããµã¼ãã¹ããªã¯ã¨ã¹ãã«ãã£ã¦ã¯ æ¸ãæãããããããªã¡ã¢ãªä¸ã®ç¶æ ã
SocketServer ã¢ã¸ã¥ã¼ã«ã¯ãããã¯ã¼ã¯ãµã¼ããå®è£ ããã¿ã¹ã¯ã åç´åãã¾ãã ãã®ã¢ã¸ã¥ã¼ã«ã«ã¯ 4 ã¤ã®ãµã¼ãã¯ã©ã¹ãããã¾ã: TCPServer ã¯ãã¯ã©ã¤ã¢ã³ãã¨ãµã¼ãéã«ç¶ç¶çãªãã¼ã¿æµè·¯ãæä¾ ãããã¤ã³ã¿ã¼ããã TCP ãããã³ã«ã使ãã¾ãã UDPServer ã¯ãé åºéãã«å°çããªãã£ããã転éä¸ã«åªå¤±ã㦠ãã¾ã£ã¦ããã¾ããªãæ å ±ã®æç¶çãªãã±ããã§ããããã¼ã¿ã°ã©ã ã使ãã¾ãã UnixStreamServer ããã³ UnixDatagramServer ã¯ã©ã¹ã åæ§ã§ãããUnix ãã¡ã¤ã³ã½ã±ããã使ãã¾ã; å¾ã£ã¦é Unix ãã©ãããã©ã¼ã ã§ã¯å©ç¨ã§ãã¾ããããããã¯ã¼ã¯ããã°ã©ãã³ã°ã« ã¤ãã¦ã®è©³ç´°ã¯ãW. Richard Steven è UNIX Network Programming ãã Ralph Davis è Win32
Debian wgetãapt-getãeasy_installãsvnãmercurialã®proxyè¨å®æ¹æ³ proxyãå¿ è¦ãªç°å¢ã§ãã¢ã¸ã¥ã¼ã«ã®ãã¦ã³ãã¼ããã¤ã³ã¹ãã¼ã«ã è¡ããã¨ããã¨ãè¨å®ãã¡ã¤ã«ã«proxyã®è¨å®ãå¿ è¦ã«ãªãã¾ãã ãããã¾ããä¸ç®æã«è¨å®ããã°OKã§ã¯ãªããããããã®ãã¼ã«ã«ãã è¨å®ãããã¡ã¤ã«ããã¨ãªãã®ã§åä»ã§ãã ãã¤ã調ã¹ã¾ãã£ã¦ããã®ã§ãèªåç¨ã®ã¡ã¢ã¨ãã¦ã¾ã¨ãã¦ããã¾ãã
Igoã®ãµã¤ãã®æé ãã®ã¾ã¾ã§ãã æºå igo-0.4.2.jarã®å ¥æ è¾æ¸ã®ãã¦ã³ãã¼ãã¨å±é $ java -cp igo-0.4.2.jar net.reduls.igo.bin.BuildDic ã³ã³ãã¤ã«æ¸ã¿è¾æ¸åºåå ãã¦ã³ãã¼ãããè¾æ¸ãå±éããã¨ãã è¾æ¸ã®æåã»ãã$ java -cp igo-0.4.2.jar net.reduls.igo.bin.BuildDic ipadic mecab-ipadic-2.7.0-20070801 EUC-JP
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}