While reading the web2pybook on page 
http://web2py.com/books/default/chapter/29/5 in the def...return chapter I 
tried to enter the code into the images shell controller 
(http://127.0.0.1:8000/admin/shell/index/images) to kind of test out both 
the code and using the shell.

I copied this into the shell from the book:
>>>def itemize1(link): return LI(A(link, _href="http://"; + link))

the shell returned, "web2py Shell (1, 99, 4, datetime.datetime(2011, 12, 
14, 14, 46, 14), 'stable')In [1] : def itemize1(link): return LI(A(link, 
_href="http://"; + link))"

I did it again and got, "In [2] : def itemize1(link): return LI(A(link, 
_href="http://"; + link))"

There's an error somewhere that's not getting returned an recorded.

Trying
>>>itemize1('www.google.com')


*returns nothing.*

Reply via email to