Not able to run .py in UiPath

I have made a script using Jupyter notebook to extract tables from PDF

Screen-shot from Jupyter

Then i have used this command in CMD to convert it into .py file

Now I am trying to run it inside UiPath, and want to write tables in to excel sheet

image

but getting this error

image

1 Like

Hi @Sami_Rajput,

try - in your Python code withing the for loop use num_pages only rather than num_pages+1.