How to execute Python script?

Hi,

I am unable to execute it.It’s throwing error:

Please let me know the changes to be done.

R’ds,
Som