Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我试过了:
link = '' for photo in photo_list: link += 'HYPERLINK("' + photo + '"; "Title");\n' worksheet.write(row, col, xlwt.Formula(link))
但它只放了第一个链接。
您是否尝试过将其置于worksheet.write(row, col, xlwt.Formula(link))循环之外?
worksheet.write(row, col, xlwt.Formula(link))