email_selenium_report.py", line 43, in <module>TypeError: can only concatenate list(not "str") to listdef extract_data_from_report3(filename):
html_report_part = open(filename
我正在尝试编写这个程序来计算2d列表的周长(基本上就像一个矩形一样),但我总是得到这个错误。我还需要一些帮助来弄清楚如何在不添加两次角的情况下对“矩形”的列进行求和。提前感谢您的帮助 def perimeter_sum(arr2d): first_row=arr2d[0] for i in range(len(arr2d)): sum = first_row + last_row+col_sum
我有以下代码,但是当我在AWS Lambda中运行它时,我得到了错误module initialization error: can only concatenate list (not "str")to list 然而,它没有告诉我代码中的哪一行抛出了错误,我想知道我是否错过了明显的东西,因为我看不到它?for uuid_index, uuid in enumerate(uuid_list): client = boto3.clie