pythonããMySQLå©ãã®ã«ãã¾ã O/Rããããç¿å¾ãã¦ãªãã®ã§ãã£ã±ãMySQLdb/pymysqlã使ã£ã¦ããã®ã§ãããä¸ã ããããæ¸ããããã«ãªããªãã®ã§ã¨ã³ããªãæ¸ãã¦ç¡çç¢çè¦ããã¡ã½ããã§ãã å ãAPIãªãã¡ã¬ã³ã¹ã«ä¸ã ãã©ãçããªãã£ãã®ã§ãªã³ã¯ãå¼µã£ã¦ããã¾ãã ããã§åããããã¯ã以ä¸ã®ã³ã¼ããããããæ¸ããã°ãæä½éã¯äºè¶³ããæ°ããã¾ãã注æãå¿ è¦ãªã®ã¯UPDATEã®éã¯commitãå¿ è¦ãªã®ã¨ããã¬ã¼ã¹ãã«ãã使ãéã¯ã¯ã©ã¼ãã¼ã·ã§ã³ãä¸è¦ãªäºã§ãããããå¾DictCursorã使ãã¨SELECTã§åå¾ããåè¡ãè¾æ¸ãªãã¸ã§ã¯ãã«ãªã£ã¦ä¾¿å©ã ã¨æãã¾ãã #!/usr/bin/python # -*- coding: utf-8 -*- import MySQLdb from MySQLdb.cursors import DictCursor def proc
{{#tags}}- {{label}}
{{/tags}}