Getting error : unexpected token '<newline>'

i wrote the python script for duplicate Schedule
for that i m getting error : unexpected token ‘’

any help ?


The warning is saying it wasn’t expecting a new line when it ran into one. This usually means you’re missing a character in the previous line.

In this case it’s a : in line 28.

1 Like

i appreciated for your quick response nick
that works
however i m getting new error now
its like : expected an indented block


32-40 need to be indented once it looks like

1 Like