A quick look at some common syntax errors you’ll see if you copy and paste Python code into the script editor. Also, I get on my mini-soap box and tell you you got to know the language syntax if you want to script 😉
Python copy-and-paste gotchas
4