[Python-es] Como resto dos horas? datetime.time

Diego Uribe Gamez diego.uribe.gamez en gmail.com
Jue Jul 5 01:25:23 CEST 2012


Me sale este error cuando intento restar estas dos horas directamente:

unsupported operand type(s) for -: 'datetime.time' and 'datetime.time'

como hago para restar satisfactoriamente dos horas con datetime.time?


-- 
 *Diego Alonso Uribe Gamez*
------------------------------

*Desarrollador web*

Twitter: @DiegoUG <http://www.twitter.com/DiegoUG>

Google+: http://gplus.to/diegoug
------------------------------
------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: <http://mail.python.org/pipermail/python-es/attachments/20120704/8b81b54b/attachment.html>


Más información sobre la lista de distribución Python-es