[pyar] Operador comillas

John Rowland Lenton john.lenton en canonical.com
Vie Ago 20 12:14:11 ART 2010


On Fri, Aug 20, 2010 at 11:53:48AM -0300, Facundo Batista wrote:
> On Fri, Aug 20, 2010 at 11:29 AM, Daniel Moisset
> <dmoisset en machinalis.com> wrote:
> 
> >> Gente, en qué parte de la doc de Python puedo leer sobre esto?
> >
> > http://docs.python.org/reference/expressions.html#string-conversions
> 
> Ojo que se desaconseja el uso por la mala legibilidad que tiene, se
> recomienda usar repr().
> 
> Y en Python 3 no está más.

además, claramente `foo` lo que tiene que hacer es
commands.getoutput(foo), no repr(foo).

Un olvido de Guido, claramente.
------------ próxima parte ------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: Digital signature
URL: <http://listas.python.org.ar/pipermail/pyar/attachments/20100820/a6558b97/attachment.sig>


More information about the pyar mailing list