[PyVigo] No hay reunión prevista para julio... todavía

Jesus Cea jcea at jcea.es
Tue Aug 9 02:28:39 CEST 2016


On 08/08/16 17:28, Miguel Sánchez de León Peque wrote:
>     while not str(datetime.utcnow()).startswith('2016-08-09 17:00'):
>         time.sleep(1)

No diré que no he hecho nunca cosas parecidas, pero es algo feo.

Mira el módulo "sched" de la librería estándar:
https://docs.python.org/3.5/library/sched.html

-- 
Jesús Cea Avión                         _/_/      _/_/_/        _/_/_/
jcea at jcea.es - http://www.jcea.es/     _/_/    _/_/  _/_/    _/_/  _/_/
Twitter: @jcea                        _/_/    _/_/          _/_/_/_/_/
jabber / xmpp:jcea at jabber.org  _/_/  _/_/    _/_/          _/_/  _/_/
"Things are not so easy"      _/_/  _/_/    _/_/  _/_/    _/_/  _/_/
"My name is Dump, Core Dump"   _/_/_/        _/_/_/      _/_/  _/_/
"El amor es poner tu felicidad en la felicidad de otro" - Leibniz

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <https://lists.es.python.org/pipermail/vigo/attachments/20160809/b912c200/attachment.asc>


More information about the Vigo mailing list