Re: [Python-es] Reemplazando Jinja2 con f-strings

2019-07-15 Por tema Sergio Fernández
Un f-string es código, no un string. Yo no seguiría ese camino... es una mala idea y potencialmente un riesgo. ¿Por qué no seguir con Jinja? On Mon, Jul 15, 2019, 20:05 AGTUGO wrote: > Dada la evaluación dentro de los f-strings, parece natural reemplazar los > lenguajes de plantillas, como

Re: [Python-es] Extraer tamaño de hoja archivo pdf

2019-05-15 Por tema Sergio Fernández
Saber si es A3 o A4, estoy trabajando con Python 3.7. >> Gracias. >> ___ >> Python-es mailing list >> Python-es@python.org >> https://mail.python.org/mailman/listinfo/python-es >> > ___ > Python-es mailing li

Re: [Python-es] Distintos Encodings en Python

2018-10-31 Por tema Sergio Fernández
, Oct 31, 2018 at 6:16 AM Pixu Kideak wrote: > Gracias por el consejo Sergio. > > ¿Cómo podría forzar a que el script / app fuera obligado a utilizar > Unicode? > > Saludos ;-) > > On Wed, 31 Oct 2018 at 13:44, Sergio Fernández wrote: > >> Utiliza siempr

Re: [Python-es] Distintos Encodings en Python

2018-10-31 Por tema Sergio Fernández
g list > Python-es@python.org > https://mail.python.org/mailman/listinfo/python-es > -- Sergio Fernández http://www.wikier.org ___ Python-es mailing list Python-es@python.org https://mail.python.org/mailman/listinfo/python-es

Re: [Python-es] __import__( ) cuando el "package" incluye un punto .

2015-12-11 Por tema Sergio Fernández
Jose > ___ > Python-es mailing list > Python-es@python.org > https://mail.python.org/mailman/listinfo/python-es > FAQ: http://python-es-faq.wikidot.com/ -- Sergio Fernández http://www.wikier.org __

Re: [Python-es] duda básica de una tontería

2013-12-08 Por tema Sergio Fernández
problema? Muchas gracias de antemano, Pablo -- http://www.ousia.tk ___ Python-es mailing list Python-es@python.org https://mail.python.org/mailman/listinfo/python-es FAQ: http://python-es-faq.wikidot.com/ -- Sergio Fernández ser...@wikier.org

Re: [Python-es] Duda con peticion POST httplib

2013-04-11 Por tema Sergio Fernández
/ -- Sergio Fernández ser...@wikier.org ___ Python-es mailing list Python-es@python.org http://mail.python.org/mailman/listinfo/python-es FAQ: http://python-es-faq.wikidot.com/

[Python-es] añadir script al path con setuptools

2012-11-10 Por tema Sergio Fernández
Hola, ¿Alguien sabe como añadir script (python o shell) al path del sistema desde setuptools? Han cambiado el api y no encuentro como hacerlo... Muchas gracias! Un saludo, -- Sergio Fernández ser...@wikier.org ___ Python-es mailing list Python-es

Re: [Python-es] añadir script al path con setuptools

2012-11-10 Por tema Sergio Fernández
entry_points es lo que buscaba! que mal documentado esta setuptools... 2012/11/10 Sergio Fernández ser...@wikier.org: Hola, ¿Alguien sabe como añadir script (python o shell) al path del sistema desde setuptools? Han cambiado el api y no encuentro como hacerlo... Muchas gracias! Un saludo

Re: [Python-es] Presentación

2012-10-27 Por tema Sergio Fernández
gracias por vuestras respuestas. Un saludo, Antonio Cascales ___ Python-es mailing list Python-es@python.org http://mail.python.org/mailman/listinfo/python-es FAQ: http://python-es-faq.wikidot.com/ -- Sergio Fernández ser

Re: [Python-es] parser

2012-09-18 Por tema Sergio Fernández
voy a echarle un vistazo, muchas gracias! 2012/9/18 Luis Miguel Morillas moril...@gmail.com: El día 18 de septiembre de 2012 08:14, Sergio Fernández ser...@wikier.org escribió: Hola, ¿alguien conoce una manera, en python claro, más sencilla y ágil de hacer un parser de un pequeño lenguaje

Re: [Python-es] POST xml cgi

2012-05-27 Por tema Sergio Fernández
] : [Errno 36] File name too long: '?xml version=1.0? Alguna idea o sugerencia que me ayude. Fernando ___ Python-es mailing list Python-es@python.org http://mail.python.org/mailman/listinfo/python-es FAQ: http://python-es-faq.wikidot.com/ -- Sergio

Re: [Python-es] Importar módulos mediante un fichero __init__.py

2012-05-09 Por tema Sergio Fernández
. ¿Dónde me estoy equivocando? Gracias de antemano, Dani ___ Python-es mailing list Python-es@python.org http://mail.python.org/mailman/listinfo/python-es FAQ: http://python-es-faq.wikidot.com/ -- Sergio Fernández ser...@wikier.org

Re: [Python-es] Importar módulos mediante un fichero __init__.py

2012-05-09 Por tema Sergio Fernández
. Ya está solucionado. En primer lugar probé lo que me dijo Sergio Fernández, puse esas dos líneas de código al principio de mainf.py, pero al ejecutarlo no me reconocía las funciones que iban contenidas en él (como si no las hubiera definido, ni las hubiera importado de ningún sitio, nada

Re: [Python-es] decidir en real time de qué clase heredar

2012-02-12 Por tema Sergio Fernández
/listinfo/python-es FAQ: http://python-es-faq.wikidot.com/ -- Raúl Cumplido ___ Python-es mailing list Python-es@python.org http://mail.python.org/mailman/listinfo/python-es FAQ: http://python-es-faq.wikidot.com/ -- Sergio Fernández ser

Re: [Python-es] cola con prioridad

2011-03-02 Por tema Sergio Fernández
extremos de la cola. Según me comenta JCea en la lista python de jabber una posible solución podrian ser una sortedlist del módulo blist [1]. Saludos. [1] http://pypi.python.org/pypi/blist/ El 1 de marzo de 2011 20:20, Sergio Fernández ser...@wikier.org escribió: a parte de heapq, al

Re: [Python-es] cola con prioridad

2011-03-01 Por tema Sergio Fernández
/ -- __      ___ _   _ \ \    / (_) |_(_)___ _ _  \ \/\/ /| | / / / -_) '_|  Sergio Fernández   \_/\_/ |_|_\_\_\___|_|    http://www.wikier.org/ ___ Python-es mailing list Python-es@python.org http://mail.python.org/mailman/listinfo/python-es FAQ: http://python-es-faq.wikidot.com/

Re: [Python-es] Entrada de datos por terminal

2011-02-25 Por tema Sergio Fernández
/ ___ Python-es mailing list Python-es@python.org http://mail.python.org/mailman/listinfo/python-es FAQ: http://python-es-faq.wikidot.com/ -- __      ___ _   _ \ \    / (_) |_(_)___ _ _  \ \/\/ /| | / / / -_) '_|  Sergio Fernández   \_/\_/ |_|_\_\_\___|_|    http

Re: [Python-es] /usr/bin/python2

2011-02-07 Por tema Sergio Fernández
/ -- __      ___ _   _ \ \    / (_) |_(_)___ _ _  \ \/\/ /| | / / / -_) '_|  Sergio Fernández   \_/\_/ |_|_\_\_\___|_|    http://www.wikier.org/ ___ Python-es mailing list Python-es@python.org http://mail.python.org/mailman/listinfo/python-es FAQ: http://python-es-faq.wikidot.com/

Re: [Python-es] regex

2011-01-28 Por tema Sergio Fernández
mailing list Python-es@python.org http://mail.python.org/mailman/listinfo/python-es FAQ: http://python-es-faq.wikidot.com/ -- __      ___ _   _ \ \    / (_) |_(_)___ _ _  \ \/\/ /| | / / / -_) '_|  Sergio Fernández   \_/\_/ |_|_\_\_\___|_|    http://www.wikier.org

Re: [Python-es] POO

2010-07-29 Por tema Sergio Fernández
Python-es@python.org http://mail.python.org/mailman/listinfo/python-es FAQ: http://python-es-faq.wikidot.com/ -- __      ___ _   _ \ \    / (_) |_(_)___ _ _  \ \/\/ /| | / / / -_) '_|  Sergio Fernández   \_/\_/ |_|_\_\_\___|_|    http://www.wikier.org

[Python-es] actualizando nuestras bibliotecas a python 3

2010-06-29 Por tema Sergio Fernández
saludo, -- __ ___ _ _ \ \/ (_) |_(_)___ _ _ \ \/\/ /| | / / / -_) '_| Sergio Fernández \_/\_/ |_|_\_\_\___|_|http://www.wikier.org/ ___ Python-es mailing list Python-es@python.org http://mail.python.org/mailman/listinfo/python-es FAQ