帰ã£ã¦ãã Python Workshop 2010/12 ã«åå ãã¦ãã¾ããï¼
帰ってきた Python Workshop 2010/12ã«åå ããã¦ããã ãã¾ããã
ç»å£è
ã®æ¹ã
ã®ã話ãã¨ã¦ãèå³æ·±ããããããªãç¨èªãä»çµã¿ãªã©ã¯å¤ã
ããã¾ããããSessionï¼ã®ããã«ãã£ã¹ã«ãã·ã§ã³ã§ã¯çç¬ããããã¨ã¦ãé¢ç½ãã£ãã§ãã
ã¾ããä»åã®åå¼·ä¼ã®å ´æããä»å¹´ã®8/1ã«è¡ãããSecurity.GS.Fesã®å ´æã¨åãã ã£ãã®ã§ãè¿·ããã¨ãªãè¡ãæ¥ã§ãã¦ããã£ãã§ãã
ã§ã¯ãå人çãªææ³ãæè¦çãæ¸ãã¦ãããããªã¨æãã¾ãã
Sessionï¼ï¼ï¼ã§ã¯ããããªãé¨åãå¤ã
ãã£ãã®ã§ãSessionï¼ã®ãPythonã¯ãããã¤ã±ã¦ããã¤ã±ã¦ãªããã«ã¤ãã¦æ¸ãã¦ã¿ããããªã¨æãã¾ãã
è¯ããæªããã¤ã³ãã³ã
è¯ããæªããã¤ã³ãã³ãâçµè«ï¼ã
åã¯ã¤ã³ãã³ãã¯å¤§å¥½ããªãã§ããã©ããã¨ãã£ã¿ã«ãã£ã¦ã¡ãã£ã¨ã¤ã³ãã³ãããããã ãã§ã¨ã©ã¼ãåºãã®ã¯ã¤ã©ã¤ã©ãã¾ãã
æ²»ãã®ã大å¤ã ãã
ã§ããããã°ã©ã ã®åå¿è
ã¯Pythonã§ã¤ã³ãã³ããè¦ããæ¹ãããã¨æãã¾ãï¼ï¼
Pythonã ããããªãã§ããã©ãããã°ã©ã ãæ¸ãã¦å
¬éãããã¨ã¯ããèªã¾ããã®ãè¦æããããã¨ã ãããèªãæ¹ã
ã¸ã®é
æ
®ãã¨ãã¦ã®ã¤ã³ãã³ãã ãããèªåã§ä¸ã¤ä¸ã¤ã®æé ãç解ãã¦æ¸ããããã«ãã¤ã³ãã³ãã¯å¿
è¦ã ã¨æãã¾ãã®ããã
ã¤ã³ãã³ãéè¦
ã¤ã³ãã³ãéè¦
大åãªãã¨ãªã®ã§ï¼k(ry
åãæããPythonã®ã¤ã±ã¦ãã¨ãã
次ã¯ãåãæãPythonã®ã¤ã±ã¦ãæãæ¸ãã¦ã¿ãããã¨æãã¾ãã
ã¾ã ã¾ã åå¿è
ã§ããã©ãæ¥ããããããã«å£°ã大ã«ãã¦æ¸ãã¦ã¿ããã¨æãã¾ãã
ã²ã¨ã¤ãã¯ãå¤æ°ã®åãäºã宣è¨ãã¦ãããªãã¦è¯ãã¨ããæãªã®ããªã¼ã¨æãã¾ãã
Perlãrubyãªã©ã¯ãã£ããã¨ããªãã®ã§ãªãã¨ãè¨ããªãã®ã§ããã
Cè¨èªã§ãã
ã¨ãããã¨ããããªãã¦è¯ããã¨ããæã ã¨æãã¾ãã
int a;
float b;
空ã®ãªã¹ãçãä½ãã¨ãã¯å½ç¶åæåãå¿ è¦ã§ãããæ´æ°åãæåååçã®å¤æ°åãäºã宣è¨ããå¿ è¦ããªãã®ã¯
ãããã³ã¼ããæ¸ãã¹ãã¼ããä¸ããã¨æãããè¯ãã¨æãã¾ãã
ï¼ããã¯PHPã§ãåãããªï¼ï¼
ãã¨ãPythonãå§ããå½åã¯ãå¤æ°ãä»£å ¥ãã¦å¼ã³åºãã¨ãã«ãå¤æ°åã®åã«"$"ã¨ãã¤ããªãã¦ãè¯ãã£ã¦ã¨ããã«é åãæãã¦ãã¾ããã(ç¬)
åãæãPythonã®ã¤ã±ã¦ãªãã¨ãã
ç¡æã¬ã³ã¿ã«é¯ã§Pythonã®CGIã許å¯ãã¦ããã¨ãããå°ãªãã
ããã¯"Pythonã®"ãããªãã§ããã©ããããããã£ã¨å¢ãã¦ããã¨ãããªãã¨æãã¾ãã
å¢ãã¦ãããªãã£ããããã°ã£ã¦ææé¯ä½¿ãã¾ãã
ãã¨ã¯ãPythonï¼ãããã¾ãå¾æ¹äºæãããªãæã§ãããã
print "Hello World"ã使ããªãã¦ã³ã£ããããæããããã¾ãã
Python3ã ã¨ã¡ããã¨é¢æ°ã«ãªã£ã¦ããã§ããã£ãï¼
åãæãã¤ã±ã¦ãªãã¨ããã¯ãã®ãããã§ããããä»ã¯ããã¾ãæãæµ®ãã°ãªãã§ãï½
ã¾ã¨ã
ç»å£è ã®æ¹ã ã®çºè¡¨ãæ£ç¢ºã«ç¥ãããæ¹ã¯ãid:hiratara ããã®ãã¡ãã®è¨äºãè¦ãã¨è¯ãã¨æãã¾ãã今日は「帰ってきた Python Workshop 2010/12」の日です
ä»åã®å¸°ã£ã¦ãã Python Workshop 2010/12ãã¨ã£ã¦ãé¢ç½ãã£ãã§ãã
æ¥å¹´ãåæ¥å¹´ã¨éå¬ãããã°ããã²åå ããã¦ããã ãããã¨æãã¾ãã
ã¾ããPythonistaã®æ£å¼ãªã©ã¤ãã«ãåºç¾ããã®ã§ããããããPythonã®åå¼·ã«åãå
¥ãã¦ããããã¨æãã¾ãã
ãããã¨ããããã¾ããï¼ï¼