ããã°ã©ãã³ã°pythonè¨èªã¨ããè¨èªãæ¯æ¥åå¼·ãã¦ãã®ææãããã°ã«æ¸ãã¦ãããã¨æãã¾ããæ¥è¨ç¨åº¦ã«æ¸ãã¤ããã§ãããåå¿è ã®æ¹ã¸ã®èª¬æãå«ãã¦æ¸ãã¾ããä¸ç´è ã®æ¹ãçµé¨è ã®æ¹ã¯ã¢ããã¤ã¹ãææããé¡ããã¾ãã ç¡äºã«ã¤ã³ã¹ãã¼ã«ãã¦PATHãéããã¨ãåºæ¥ã¾ãããï¼ æåã«ã¤ã¾ããã¦ãã¾ã£ããããã§çµãããªã®ã§ éçºç°å¢ã®æºåã§çµãã£ã¦ãã¾ãã®ã¯ããã¾ãããï¼ ããããªãã£ããæ°è»½ã«ã³ã¡ã³ããã¦ãã ãããã ããããããã°ã©ãã³ã°ãããã¨ããã§ãã ãã¯ãæåã«æã£ã¦ãããããã¨ãããã¾ã (ã¨ããããããã°ã©ãã³ã°ãããã®ã§ãã¨ããæ¹ã¯ãã®åã¯ã¹ã«ã¼ãã¦ãã ãã) (å°ãé£ãã話ã«ãªãã®ã§å®å ¨ã«ç解ããªãã¦ãè¯ãã§ã é£ããç¨èªã°ããã§ããããªãã¨ãã人ã¯ä¸çªä¸ã®ã¾ã¨ãæ¬ãèªãã§ããã¦ãã ãããã ãããããã«ç°¡åã«æ¸ãã¦ããã¾ãã®ã§...) Pythonã«ã¯2.x.xï¼xã¯ãã¼ã¸
Python 3ãå¾æ¹äºææ§ãæ¨ã¦ã¦ã§ãæ±ãããã®ï¼ããPythonicãªPythonãç®æãã¦ï¼åç·¨ï¼ï¼1/2 ãã¼ã¸ï¼ Python 3.0ã§ã¯ãPython 2ã§æ¸ãããã¹ã¯ãªãããåããªããªããããªå®è£ ãè¡ãããããªããå¾æ¹äºææ§ãå´©ãã¦ã¾ã§å¤§ããªä»æ§å¤æ´ãè¡ã£ãã®ããããã¯ãPythonãããPythonãããããããã ã 2008å¹´12æ4æ¥ãPython 3.0ããªãªã¼ã¹ããã¾ãããããã¾ã§ãPython 3000ãããPy3kãã¨ããæ称ã§å¼ã°ããPythonã®æ¬¡æã¡ã¸ã£ã¼ãã¼ã¸ã§ã³ã¨ãã¦éçºããã¦ãããã®ã§ãã ã¡ã¸ã£ã¼ãã¼ã¸ã§ã³ã¢ããã¨ãã£ã¦ããåºæ¬çãªææ³ãã¤ã³ãã³ãã使ã£ããããã¯è¡¨è¨ãåºæ¬çãªæ©è½ã®å¤ãã¯Python 2ããå¼ãç¶ãã§ãã¾ããPythonã®æã¤ã·ã³ãã«ã§ä¸è²«æ§ã®ããè¨è¨ææ³ãåãç¶ããããPythonicãªPythonã¸ã¨è¨èªãã¹ãããã¢ããããã
ãã®è¨äºã®ç®æãã¨ãã ç¾å¨ Python ã¯ãã¼ã¸ã§ã³ 2.x 系㨠3.x ç³»ã¨ãããä¸é¨ã«äºææ§ã®ãªããµãã¤ã®ã¡ã¸ã£ã¼ãã¼ã¸ã§ã³ãä½µç¨ããã¦ããã ãã®ä¸ã§ããã®è¨äºã«ã¯ãµãã¤ã®ç®çãããã ã²ã¨ã¤ç®ã¯ã2.x 系㨠3.x ç³»ã®éãã«ã¤ãã¦ã¾ã¨ãããã¨ã ç¾ç¶ãããããã®ãã¼ã¸ã§ã³æ¯ã®éãã¯ã¾ã¨ã¾ã£ã¦ããã¨ãããå°ãªãã èªåç¨ã«ããã®ãã¼ã¸ã ãè¦ãã°ã²ã¨éãåããï¼ã£ã¦ãããã®ãã»ããã£ãã ãµãã¤ç®ã¯ã2.x 系㨠3.x ç³»ã®éããå¸åããã½ã¼ã¹ã³ã¼ãã®æ¸ãæ¹ã«ã¤ãã¦ã¾ã¨ãããã¨ã ãã¡ãã Web ä¸ã«ãã¬ãã¸ããã¾ãã¾ã¨ã¾ã£ã¦ããªãã ããã«ã¤ãã¦ã¯ä» python-future ã¨ããããã±ã¼ã¸ãã¢ããã å°ããµãã¼ããããã¼ã¸ã§ã³ã¯ä»¥ä¸ã®éãã 2.x ç³»: 2.6 㨠2.7 3.x ç³»: 3.3 㨠3.4 æ¬é¡ã«å ¥ãåã«ãæè¿ã® Python äºæ ã«ã¤ãã¦ã¾ã¨ã
åãã« ãã®è¨äºã¯ãPython ãã®2 Advent Calendar 2015ã®9æ¥ç®ã®è¨äºã§ãã æ¸ããã¨æã£ããã åãPythonåãã¦æ¸ããã®ã4å¹´åã§ã¨ã¦ãããè¨èªã ã¨æããç°¡åãªã³ã¼ããªã©ã¯ãã¤ãPythonã§æ¸ãã¦ãã¾ããã åãã«æ¸ããã®ã¯Python2.7ã§ãããã調ã¹ã¦ãããPython3ãªããã®ããããæ°ãããã®å¥½ãã ã£ãã®ã§æ¬æ°ã§å¦ã¼ãã¨ãå§ããæã¯Python3.3ã使ã£ã¦ã¾ããã ãªã®ã§ã2ç³»ã®è©±ãªã©ã¯ã»ã¨ãã©ç¥ãããããããå¤ã(ã¨ãã£ã¦ãå½æã¯2ç³»ãã¡ã¤ã³ã§ããã)ãã®ãå¦ã¶å¿ è¦ããªãã¨æã£ã¦ã¾ããã ãã 2ç³»ã®ã©ã¤ãã©ãªã3ç³»ã«å¯¾å¿ãã¦ããªãã£ããã2ç³»ã§æ¸ããã¦ãã¦3ç³»ã«èªåã§ç½®ãæããªããã°ãªããªããªã©è²ã åé¡ãããã¾ããã ã¨ã¾ããã¨ã«ãã2ç³»ã¨3ç³»ã®éããå¦ç¿ã¤ãã§ã«ã¾ã¨ãã¦è¦ããã¨æã£ã次第ã§ãã (ãã§ã«3ç³»ãã§ã¦ãã7å¹´ä½çµã£ã¦ããã®ã¯
Pythonãå§ããã°ããã®ã¦ã¼ã¶ã¼ã®å¤ãããã©ã¡ãã®ãã¼ã¸ã§ã³ã使ãã°ããã®ãè¿·ã£ã¦ãã¾ããç§ã®çãã¯ããæ°ã«å ¥ã£ããã¥ã¼ããªã¢ã«ã«æ¸ããã¦ãããã¼ã¸ã§ã³ã«ãã¾ããããããã¦ããã¨ã§éãã調ã¹ã¦ãã ãããã¨ããè¨èã«ã¤ãã¾ãã ããã§ã¯ãæ°ããããã¸ã§ã¯ããå§ããã¨ãã«ã¯ã©ã¡ããé¸ã¹ã°ããã®ã§ããããï¼ ä½¿ããã¨ãã¦ããã©ã¤ãã©ãªãå ¨ã¦ãµãã¼ããã¦ãããªãã2.7.xç³»ã¨3.xç³»ã®ã©ã¡ãã使ã£ã¦ãããã§ããããããã¯ãã£ã¦ãããã®2ã¤ã®ã¡ã¸ã£ã¼ãã¼ã¸ã§ã³ã«ã¤ãã¦å¤§ããªéããè¦ã¦ããã®ã¯è¯ãã§ããããã©ã¡ããã®ã¿ã§ã³ã¼ããæ¸ããããããã¸ã§ã¯ãã«ä½¿ããã¨ãã¦ããæã«ããããè½ã¨ãç©´ãé¿ããããããã§ãã __future__ ã¢ã¸ã¥ã¼ã« Python 3.x ã§å°å ¥ããã¦ã㦠Python 2 ã§ä½¿ããªããã¼ã¯ã¼ãã«ã¤ãã¦ã¯ã __furute__ ã¢ã¸ã¥ã¼ã«ãã¤ã³ãã¼ããããã¨ã§ Pyt
The Django Book Pythonã§æ¸ããã¦ããDjango Web framework (æ¥æ¬èªãµã¤ã)ã«é¢ããæ¬ããªã³ã©ã¤ã³ã§å ¬éãã¦ãã¾ãã ãã®æ¬ã¯The Django BooksãGNU Free Documentation Licenseã§ç¡æã§å ¬éãã¦ããæ¬ãæ¥æ¬èªè¨³ã¨ãã¦æ´¾çãããã®ã§ãã ã©ã¤ã»ã³ã¹ã¯æ¬å®¶ã®ãç¶æ¿ãã¦ãããããGNU Free Documentation Licenseã§ãã ç¾å¨ã¯ä»¥ä¸ã®3ã¤ã®æ¬ãããã¾ã(ä¸2ã¤ã¯æ¬å®¶ãµã¤ãã¸ã®ãªã³ã¯ãã¦ãã¾ã): 1st edition: Apress åºçãDjango 0.96å¯¾å¿ (Django 1.0 é対å¿!) (æ¬å®¶ãµã¤ãï¼è±èª)ã 1st edition: ç¡æãªã³ã©ã¤ã³æ¬ãå 容ã¯ä¸è¨åºçæ¬ã¨åä¸ãDjango 0.96å¯¾å¿ (Django 1.0 é対å¿!) (æ¬å®¶ãµã¤ãï¼è±èª)ã NEW:
TIOBEã®2010å¹´æåªç§è¨èªã¯Python ã½ããã¦ã§ã¢ã¨ã³ã¸ãã¢ãªã³ã°ã«ãããéå»50å¹´éãè¦ãã¨ãããã°ã©ãã³ã°è¨èªã¯ç£æ¥çã解決ãã¹ãåé¡ã®ã¿ã¤ãã«ãã£ã¦ï¼FortranãCOBOLï¼ããããã¯ãå½æã®ãã¯ããã¸ã¼ãªã¼ãã¼ã«ãã£ã¦ç§»ãå¤ãããã®ã ã¨ãããã¨ãããããä»å¹´ä¸çªã·ã§ã¢ã伸ã³ãã®ã¯Pythonã ã Pythonã¯ã·ã¹ãã ã¹ã¯ãªããè¨èªã®ãããã¡ã¯ããã¹ã¿ã³ãã¼ãã«ãªã£ã¦ãã¦ãã¾ãï¼ãã®åéã«ãããPerlã®å¾ç¶è ã¨è¨ã£ã¦ããã§ãããï¼ããããæè¿ã¯ããã¾ãã¾ãªã¢ããªã±ã¼ã·ã§ã³é åã§ã使ãããããã«ãªãã¾ããã ç¹ã«Djangoãã¬ã¼ã ã¯ã¼ã¯ã¨ã®çµã¿åããã¯ã Webéçºè ã®ããã ã§é常ã«äººæ°ãããã¾ããPythonã¯å¦ã³ããããããPythonã使ã£ã¦ããã°ã©ãã³ã°è¨èªãæãã大å¦ãå¢ãã¦ãã¦ãã¾ãã JavaãCãC#ãRubyã¯2010å¹´ãå®å®ãã¦ããããPHPãV
ãªã©ã³ãTIOBE Softwareã¯2011å¹´1æ度ã®ããã°ã©ãã³ã°è¨èªäººæ°ã©ã³ãã³ã°ãTIOBE Programming Community Indexããçºè¡¨ãããJavaãé¦ä½ãå å®ãããã2010å¹´éå¹´ã§æãå©ç¨ãå¢ããã®ã¯Pythonã¨ãªã£ãã TIOBE Indexã¯éçºè æ°ãã³ã¼ã¹æ°ããµã¼ããã¼ãã£ãã³ãã¼æ°ãã人æ°åº¦ãå²ãåºããæéã©ã³ãã³ã°ã対象ã¨ãªãè¨èªã¯ãWikipediaã®ã¨ã³ããªãæã¡ããã°ã©ãã³ã°è¨èªã¨æè¨ããã¦ãããã®ãããã¥ã¼ãªã³ã°å®å ¨ã§ãããã®2ã¤ãæºããè¨èªã¨ãªãï¼ColdFusionãRuby on RailsãCocoaãAJAXãªã©ã¯å«ã¾ããªãï¼ãã©ã³ãã³ã°ã®ä½æã«ã¯GoogleãYahooã¨ãã£ãæ¤ç´¢ã¨ã³ã¸ã³ãYouTubeãªã©ããéè¨ãããã¼ã¿ãç¨ãã¦ããã 2011å¹´1æ度ã®ããã3ã¯ãé¦ä½ãJavaï¼17.773ï¼ ï¼ã2ä½ã¯Cï¼15.82
id:antipopãããã¡ãä½æãããã¯ã¦ãªããã«ãã¯æ¥½ããã§ããï¼ãã£ããç»é²ãã¾ãã¦ä½¿ãã¯ããã¾ããï¼ ã¯ã¦ãªBottleã«ç»é²ããã¨Bottleã§ã¡ã¼ã«ããã¯ã¹ãä¸æ¯ã«ãªã£ã¦ãã¾ãé£ç¹ãããã¾ãï¼ã¾ãï¼Bottleã®å°çã¡ã¼ã«ã®æéã¯30åããããªã®ã§ï¼ã¡ã¼ã«ããã¯ã¹ãã¹ã«ã¼ããããï¼3æéããã«ã¡ã¼ã«ãéã£ã¦ãããè¨å®ã«ããã¨ããã«ãèªåã®ãã®ã§ã¯ãªããªã£ã¦ãã¾ãã¾ãï¼ ã¯ã¦ãªããã«ã®Bottleã¯ããã°ãé£æãã§ãï¼é£æã¨ããã°Twitterï¼ ä¸æ¥ä¸twitterã«ã¯ãã¤ãã¦ãã人ãªãã°Bottleã¯ã¡ã¼ã«ããã¯ã¹ãããTwitterã«å±ããã»ãã確èªããããã§ãï¼ ã¨ããããã§ã¯ã¦ãªBottleã¨Twitterãã¤ãªãã¹ã¯ãªãããæ¸ãã¦ã¿ã¾ããï¼ããã«ä½¿ãTwitterã®Botã®ã¢ã«ã¦ã³ããç¨æãã¦followããã°ããã¨æãã¾ãï¼ ã³ã¼ã #!/usr/bin/pytho
GitHub Wiki: https://github.com/rietveld-codereview/rietveld/wiki Google Group: http://groups.google.com/group/codereview-discuss This project shows how to create a somewhat substantial web application using Django on Google App Engine. It requires Python 2.7 and Django version 1.3 (although a previous version using Python 2.5 and Django 1.2 can still be found in the py25 branch in the repository)
Python ã®ãã¦ã³ãã¼ãããã³ã¤ã³ã¹ãã¼ã«æ¹æ³ã§ãã Python ã使ã£ãããã°ã©ãã³ã°ã Windows11 ã®ç°å¢ã§è¡ãããã«å¿ è¦ãªããã°ã©ã ã®ãã¦ã³ãã¼ãããã³ã¤ã³ã¹ãã¼ã«ã®æ¹æ³ã«ã¤ãã¦è§£èª¬ãã¾ããããã㦠Anaconda ã使ã£ã Python ã®ã¤ã³ã¹ãã¼ã«æ¹æ³ããç´¹ä»ãã¾ãã ãPythonã¤ã³ã¹ãã¼ã«ã¨ç°å¢è¨å®ã«é¢ããè¨äºã Pythonã®ãã¦ã³ãã¼ãã¨ã¤ã³ã¹ãã¼ã« Pythonã«é¢ããããã¥ã¡ã³ããåç §ãã Pythonå©ç¨ã®ããã®ç°å¢å¤æ°PATHãè¨å®ãã Anacondaã®ã¤ã³ã¹ãã¼ã«
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}