> >in python you can do:
> >str(int)
> >and in zope you do it like
> >_.str(int)
> You can also use the short form in both Zope and Python:
> `int`
> Two of those funny `` characters surrounding what you want converted to a
> string.

The backtick notation `` is actually the shorthand for repr(), not str(). In the
case of ints this will give you the same result but not in all cases. I second
Jens's recommendation. _Learning Python_ is a great book.


Zope maillist  -  [EMAIL PROTECTED]
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to