pythonʵÏÖ¶Ôexcel±íµÄ¶Áд²Ù×÷£¨Ò»£
Part 1. Ä£¿é½éÉÜ£º
ʹÓÃpythonʵÏÖ¶Ôexcel±íµÄ¶Áд²Ù×÷ÓÐÁ½¸öÄ£¿é£¬·Ö±ðΪ£º
1. ¶Ôexcel±í¶ÁÈ¡Ä£¿é xlrd 0.9.3 £ºÏÂÔصØÖ·£º https://pypi.python.org/pypi/xlrd
Ó¢ÎÄÊÍÒ⣺The package is for reading data and formatting information from Excel files.
2. ¶Ôexcel±íдÈëÄ£¿é xlwt 0.7.5 £º ÏÂÔصØÖ·£ºhttps://pypi.python.org/pypi/xlwt
Ó¢ÎÄÊÍÒ⣺The package is for writing data and formatting information from Excel files.
Part 2. Ä£¿é°²×°£º
ÏÂÔغóµÄÎļþ¼°Æä½âѹֺóµÄÎļþ£¬·ÅÖÃÔÚijһĿ¼Ï£¬ÈçÏÂͼ£º
´ò¿ªcmdÃüÁî¿ò£¬Çл»Â·¾¶ÖÁxlrd-0.9.3ºÍxlwt-0.7.5Îļþ¼ÐÖжÔsetup.py½øÐа²×°£¬°²×°ÃüÁîΪpython setup.py install
ÓÃÃüÁîpython½øÈëpython½âÊÍÆ÷£¬ÒÀ´ÎÊäÈëimport xlrd¡¢impZ†·Ÿ"http://www.bkjia.com/kf/ware/vc/" target="_blank" class="keylink">vcnQgeGx3dMP8we6jrM7esai07bHtw/fS0bCy17CzybmmoaM8L3A+Cgo8cD48aW1nIHNyYz0="http://www.2cto.com/uploadfile/Collfiles/20141124/20141124090822104.jpg" alt="">