Hi Nico,
I tried explicitly with python2.7, by executing:
python2.7 web2py.py -S examples -M -R applications/examples/private/script01.py
On a fresh downloaded version of web2py.
Same result.
In web2py/gluon/shell.py, I notice the following first line:
from __future__ import print_function
Funny enough, it's only trough an external script that I'm getting this error.
Using the print statement in a controller function, everything works as expected.
So I believe it's only when running an 'external' script through web2py/gluon/shell.py that the print() function must be used.
Or am I missing something/making a mistake?
Best, Tom.