Newbie here so go easy on me. I’m trying to run this script for gphoto2 but getting a syntax error. Any help would be appreciated. (Photos included)
I cannot copy&paste because you showed pictures of your program text, so this will have to do:
[stdout=subprocess.PIPE is not processable for the interpreter. The open character [ should go. The error shows at the = (see the caret under there), because that is where the interpreter “notices” something is wrong.
Pasting text as formatted text works by preceding and following it with three backticks on a line of their own.
Thank you so much! I’ll remember that for next time
Note that the backticks need to be on a line on their own, like this:
``` # paste your code and error message here ```
Thank you for completing that.