The way you have responded to my comments (by typing inside the quote) means I cannot quote your responses easily.
"bad interpreter" when run as above. I had to put python in front, like the shebang isn't recognized
Are you sure you have set pythonbuild.py as executable?
What shebang have you actually got in your file?
Yes, it does at both the command line and Geany, but will run errors out in Geany if I enter
the %d/%f
I get the invalid working directory error
Copy and post the exact error messages
I am told ver 3.2 and later has arduino filetypes. I was using ver 2.7
Those sound like Python version numbers. Code highlighting is something in Geany. It is not part of the Python language. Especially as the code you want to highlight is C++, not Python.
...R