El viernes, 28 de julio de 2017, 17:07:21 (UTC-3), domezzzz escribió: > > Version: 2.15.2-stable+timestamp.2017.07.19.12.18.41 > <http://www.web2py.com/init/default/download> > web2py.exe for windows > > Start logging---------- > File "c:\web2py_sitio\gluon\shell.py", line 268, in run > execfile(startfile, _env) > File "scripts/sessions2trash.py", line 90 > print 'key: %s' % str(item) > ^ > SyntaxError: invalid syntax > End logging---------- > > Adding any print '.....' or print('...) or print sys.argv, gives error. > And also, in any source that is launched in cmd mode. > It looks like a web2py.exe problem > In version 2.14.6 works. > > Regards. > ----------------------------------------------------- > 29.07.2017 > ¡ups! > Apologies, I did not do all the relevant tests. > You had to change ALL the print to py3 form. >
-- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.