2018年07月06日 python 在Excel电子表格中创建一个N*N的乘法表 import sys,openpyxlwb=openpyxl.Workbook()ws=wb.activeif len(sys.argv)<2: print('请输入参数') sys.exit()num1=int(sys.argv[1])for i in range(1,num1+1): _=ws.cell(row=i+1,column=1,value=i) _=ws.c
2018年06月29日 ImportError: You must install PIL to fetch image objects 在使用openpuxl对表格插入图片时报了这么一个错:ImportError: You must install PIL to fetch image objects然后意思就是让我安装PIL于是在cmd里面输入:pip install pillow