Being a lazy developer, I like to copy and paste when possible.  I
noticed that code copied from the web2py manual or t2.pdf throws an
error when run.  Everything looks good in the web editor but when
opened in IDLE it had strange characters in place of the single quote:

if t2.logged_in:
    response.menu=[[’index’,False,t2.action(’index’)],[â
€™logout’,False,t2.action(’logout’)]]
else:
    response.menu=[[’login’,False,t2.action(’login’)],[â
€™register’,False,t2.action(’register’)]]

Has anyone else seen this?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to