[pyar] cadenas de texto

Juan Carlos Ojeda juancarlospaco en gmail.com
Mar Jul 5 16:11:43 ART 2011


2011/7/5 Facundo Batista <facundobatista en gmail.com>

> 2011/7/4 Juan P Alesandri <jp en alesandri.com.ar>:
>
> > 2011/7/4 p8queen <p8queen en gmail.com>
> >>
> >> #!/usr/bin/python
> >>
> >> str = "THIS IS STRING EXAMPLE....WOW!!!";
> >> print str.isupper();
> >>
> >> str = "THIS is string example....wow!!!";
> >> print str.isupper();
> >>
> >> fuente: http://www.tutorialspoint.com/python/string_isupper.htm
>
> - En Python, el ";" separa lineas de código en la misma linea del
> editor: es totalmente irrelevante (y mala práctica) agregarlas al
> final de las lineas.
>
> - Nunca uses el nombre de una función builtin como variable, a menos
> que sepas muy bien qué estás haciendo.
>
> La verdad, para haber copiado esas lineas de un tutorial... hay que
> prender fuego al que hizo ese tutorial...
>
> Slds.
>
> --
> .    Facundo
>
> Blog: http://www.taniquetil.com.ar/plog/
> PyAr: http://www.python.org/ar/
> _______________________________________________
> pyar mailing list pyar en python.org.ar
> http://listas.python.org.ar/listinfo/pyar
>
> PyAr - Python Argentina - Sitio web: http://www.python.org.ar/
>

str = str(str)

:þ

-- 
.
------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: <http://listas.python.org.ar/pipermail/pyar/attachments/20110705/66cfe99c/attachment.html>


More information about the pyar mailing list