-2

Can anyone help me with the below error message ? error image

Brandon Minnick
  • 13,342
  • 15
  • 65
  • 123
alpha0
  • 65
  • 10
  • 2
    Please read the *"Help others reproduce the problem"* section of [How do I ask a good question?](https://stackoverflow.com/help/how-to-ask) – tgogos Nov 08 '17 at 13:34
  • It appears thant '\a' in image path string is interpreted as [escape sequence](https://en.wikipedia.org/wiki/Escape_sequences_in_C). Try using forward slashes in path, or properly escaping backslashes. – guest-418 Nov 08 '17 at 14:24

1 Answers1

1

Thanks guest-418 for pointing out the issue, after I changed the code to

doubleClick(r"D:\Users\alapati.n\Pictures\Screenshots\Screenshot (12).png")

it worked

alpha0
  • 65
  • 10