[Python-es] Pregunta sobre error de sintaxis.
Jhonny5
jhonny5 en gmail.com
Lun Ene 2 20:47:23 CET 2012
Muy buenas,
a ver si alguien me sabe decir el porqué de esto:
>>> import calendar
>>> calendar.weekday(2012,01,02)
0
>>> calendar.weekday(2012,01,03)
1
>>> calendar.weekday(2012,01,04)
2
>>> calendar.weekday(2012,01,05)
3
>>> calendar.weekday(2012,01,06)
4
>>> calendar.weekday(2012,01,07)
5
>>> calendar.weekday(2012,01,08)
File "<stdin>", line 1
calendar.weekday(2012,01,08)
^
SyntaxError: invalid token
Duda: por qué ese error de sintaxis.
Gracias,
j.
--
talueee.com
Linux User #236965 (counter.li.org)
key: http://talueee.com/gpg/jhonny5.asc
Po fueno, po fale, po malegro.
------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: <http://mail.python.org/pipermail/python-es/attachments/20120102/5bdad0f2/attachment.html>
Más información sobre la lista de distribución Python-es