[Py-MAD] Mi primer programa en python

Oldzhay Saroolu oldzhay.saroolu at gmail.com
Wed Feb 27 10:21:36 CET 2013


En mi país solíamos llamarlas "la barra de la una" y "la barra de las 11"
(mirando un reloj analógico es fácil saber cual cual es :-) )
En España alguna vez la barra normal (la de la una xD ) he escuchado
llamarla "la barar del 7" (porque esta encima del 7 en el teclado)


2013/2/27 Hernán Foffani <hfoffani at gmail.com>

> Yo digo "barra invertida". He escuchado y también dicho porque no había
> forma de que me entiendan: la barra "del-de-o-ese" o
> "la-de-fecha-no,-la-otra". Interesante lo de la RAE, no lo sabía. Pero ¿de
> dónde sacaron lo de "barra inversa"? Imagino que sería una expresión de
> linotipistas, si es así tiene su lógica que tuviera precedencia sobre los
> usos y dichos de los informáticos.
>
> H. MF-S
>
>
> El 27/02/2013, a las 09:34, Oldzhay Saroolu <oldzhay.saroolu at gmail.com>
> escribió:
>
> Yo también siempre lo he escuchado como "contrabarra"
>
> P.D. Lo de if DEBUG me ha gustado mucho :-)
>
> 2013/2/27 Angel García Cuartero <anhelido at gmail.com>
>
>> Backslash lo he visto alguna vez traducido como "contrabarra".
>>
>> El 24 de febrero de 2013 02:37, Juan Luis Cano <juanlu001 at gmail.com>escribió:
>>
>>>  On 02/22/2013 09:50 PM, Daπid wrote:
>>>
>>> 2013/2/22 Jesus Cea <jcea at jcea.es>
>>>
>>>> 6. El split lo haces varias veces. Tal vez puedas hacerlo con una
>>>> expresión regular más compleja, o con algo tipo
>>>>
>>>> "date, dummy, dummy, email = line.split(' ')"
>>>>
>>>
>>> Quizá más claro:
>>>
>>>  date, _, _, email = line.split(' ')
>>>
>>>
>>> A propósito de la convención sobre resultados sin usar
>>>
>>>
>>> http://programmers.stackexchange.com/questions/139582/which-style-to-use-for-unused-return-parameters-in-a-python-function-call
>>>
>>> Solución por si te preocupa `gettext`: usa `__` (dos guiones bajos).
>>> `dummy` me resulta irritante a mí también xD
>>>
>>> Está bien además que hayas usado `with`, es de mis cosas preferidas del
>>> lenguaje :D
>>>
>>> Más abajo en vez de `if DEBUG == 1`: puedes poner simplemente `if
>>> DEBUG`. Fíjate que en Python
>>>
>>> >>> True == 1
>>> True
>>>
>>> así que en realidad no hace falta que pongas `if DEBUG == True` o `if
>>> DEBUG == 1`.
>>>
>>> Los strings raw que empiezan por r"" son útiles cuando tienes backlashes
>>> (¿cómo rayos se dice eso en español?) y las quieres escapar. Por ejemplo:
>>>
>>> >>> "Hola\nmundo"
>>> 'Hola\nmundo'
>>> >>> print _
>>> Hola
>>> mundo
>>> >>> r"Hola\nmundo"
>>> 'Hola\\nmundo'
>>> >>> print _
>>> Hola\nmundo
>>>
>>> Un saludo
>>>
>>> Juanlu
>>>
>>> _______________________________________________
>>> Madrid mailing list
>>> Madrid at lists.es.python.org
>>> https://lists.es.python.org/listinfo/madrid
>>>
>>
>>
>>
>> --
>> - Angel -
>> _______________________________________________
>> Madrid mailing list
>> Madrid at lists.es.python.org
>> https://lists.es.python.org/listinfo/madrid
>>
>
>
>
> --
> Best Regards
> Oldzhay Saroolu
> tel: + (34) 6 444 7 333 1
>  in : oldzhaysaroolu <http://es.linkedin.com/in/oldzhaysaroolu>
>
> This communication contains information which is confidential and may also
> be privileged. It is for the exclusive use of the intended recipient(s).**
> **
> If you are not the intended recipient(s), please note that any
> distribution, copying or use of this communication or the information in it
> is strictly prohibited.****
> If you have received this communication in error, please notify the sender
> immediately and then destroy any copies of it.
>  _______________________________________________
> Madrid mailing list
> Madrid at lists.es.python.org
> https://lists.es.python.org/listinfo/madrid
>
>
>
> _______________________________________________
> Madrid mailing list
> Madrid at lists.es.python.org
> https://lists.es.python.org/listinfo/madrid
>



-- 
Best Regards
Oldzhay Saroolu
tel: + (34) 6 444 7 333 1
 in : oldzhaysaroolu <http://es.linkedin.com/in/oldzhaysaroolu>

This communication contains information which is confidential and may also
be privileged. It is for the exclusive use of the intended recipient(s).****

If you are not the intended recipient(s), please note that any
distribution, copying or use of this communication or the information in it
is strictly prohibited.****

If you have received this communication in error, please notify the sender
immediately and then destroy any copies of it.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.es.python.org/pipermail/madrid/attachments/20130227/6efea70e/attachment.html>


More information about the Madrid mailing list