- ©«¤l
- 2035
- ¥DÃD
- 24
- ºëµØ
- 0
- ¿n¤À
- 2031
- ÂI¦W
- 0
- §@·~¨t²Î
- Win7
- ³nÅ骩¥»
- Office2010
- ¾\ŪÅv
- 100
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2012-3-22
- ³Ì«áµn¿ý
- 2024-2-1
|
¥»©«³Ì«á¥Ñ c_c_lai ©ó 2016-9-12 10:17 ½s¿è
¦^´_ 89# zyzzyva
¥[¤W f.write('\ufeff') «á¡A
¤@¤Á§Y«ì´_¥ÀR (¥¿±`ªº¤£±o¤F)¡A³o©ÛÁÙ¯uºÞ¥Î©O¡I
ÁÂÁÂÅo¡I(°õ¦æ«e§Y¥ý±N CSV Àɮײ¾°£¡A¦Ó«á§Y±q¨â¤è±¶i¦æÆ[¹î¡A§¡¤£¤©¥HÀx¦s±ø¥ó¤U)
¦A¨Ó¤@Ó¹ê¥Î½d¨Ò¡A¨º§Úªº Python ¾Ç²ßÀ³±N¶}©l°_¨B¤F¡I- with open('gospel2.csv', 'a', new='', encoding='utf-8') as f:
- fieldnames = ['«ØÀÉ ID', '¤¤¤å¦WºÙ', '^¤å¦WºÙ', '¤ÀÃþ', '©v¬£', '¥À·|', 'ºô§}', '°ê§O°Ï°ì', '³]¥ß®É¶¡', 't³d¤H', '¹q¸Ü', '¶Ç¯u', '¹q¶l', '·|§}', '³q°T³B']
- f.write('\ufeff')
- w = csv.DictWriter(f, fieldnames)
- w.writeheader()
- w.writerows(myList)
- print('gospel2.csv ÀÉ®×Àx¦s§¹²¦¡I')
½Æ»s¥N½X |
|