I’m creating a bot that gets information from tables in a website and I’m trying to put all of that information in an excell sheet.
I created a script in python that retrieves me the column of the excell based on the number I passed to the function, and that number is supossed to be the column.
![](https://uploads-us-west-2.insided.com/automationanywhere-en/attachment/ae01b917-f707-4569-8ecb-9a05350fafe0.png)
So basically, I’m iterating through each table and through each row of the table and I’m trying to put the information of the row in a column in the spreasheet. I’m new to automation anywhere so I don’t know if there is a better way to do that.
I’m trying to print the result from the script but I keep getting this:
![](https://uploads-us-west-2.insided.com/automationanywhere-en/attachment/842e8a7d-ebab-4ef1-9d7f-c6d8b70dee63.png)
I don’t think the script is wrong because when I ran it in VSCODE it gave the right column. How can I solve this problem ?