摘要:
data = ['a','b'] for index, i in enumerate(data): c = sheet.Cells(38 + index, 'A') c.Value = i c.HorizontalAlignment = -4131 # 水平左对齐 c.VerticalAlignme 阅读全文
posted @ 2022-09-09 15:34
Mia妈妈加油呀
阅读(691)
评论(0)
推荐(0)
摘要:
a = sheet.Range("A2")pic = sheet.Pictures().Insert(pngfile)r = pic.ShapeRangeh = 450scale = r.Width / r.Height # 等比例缩放尺度。w = int(h * scale) # 获得相应等比例的 阅读全文
posted @ 2022-09-09 10:31
Mia妈妈加油呀
阅读(668)
评论(0)
推荐(0)

浙公网安备 33010602011771号