試ãã«ãã£ããå±¥æ´ãCSVãã¡ã¤ã«ã«ä¿åããã¨ããå ´åã®ä¾ãåãä¸ãã¾ããã¾ãå®éã¯ã¡ãã»ã³ã¸ã£ã¼ã¢ããªã®XMLãã¡ã¤ã«çãã³ã³ãã¼ããã¦ä¿åããä¾ãæã£ã¦ããæ¹ãè¯ãã®ããããã¾ããããããããã¨ã³ã¼ããé·ããªãä»è¨äºã®ç¦ç¹ãåããªããªãã®ã§å²æãã¾ãã ã½ã¼ã¹ã³ã¼ã #!/usr/bin/python # coding: UTF-8 # CSVãã¡ã¤ã«ã«æ¸ã込㿠import csv # CSVãã¡ã¤ã«ãæ±ãããã®ã¢ã¸ã¥ã¼ã«ã®ã¤ã³ãã¼ã filename = "table02.csv" writecsv = csv.writer(file(filename, 'w'), lineterminator='n') # æ¸ãè¾¼ã¿ãã¡ã¤ã«ã®è¨å® writecsv.writerow(['2007/11/12 20:19:18', 'ããããã°ãã¯ã']) # 1è¡(ãªã¹ã)ã®æ¸ã込㿠write
{{#tags}}- {{label}}
{{/tags}}