hello, i have this code http://pastie.org/2112997
but i am not sure how to make the date range so that i get a list
based on the daily totals not the results i am now getting:
(2L, Decimal('173.958344'), Decimal('159.966349')) 2011-06-23 00:00:00
2011-06-23 23:59:59
(2L, Decimal('173.958344'), De
Is there a good tutorial out there somewhere about decorators? Google
doesn't bring up much.
--
Robert
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
Robert wrote:
Is there a good tutorial out there somewhere about decorators? Google
doesn't bring up much.
Define "good" :)
I'm interested in what you think about this article:
http://www.artima.com/weblogs/viewpost.jsp?thread=240808
Personally, I think it's filled with jargon that will b
I have to improve the trivia_challenge program so each question has a
different point value. I added a point into the text file after each
category line, so the next_block() can call it. Whenever the program
calculates the 'score = point' in main() it comes up with "TypeError:
unsupported operand
***ignore the "point = point" line in the next_block() function.
--
View this message in context:
http://old.nabble.com/Trivia-tp31917610p31917637.html
Sent from the Python - tutor mailing list archive at Nabble.com.
___
Tutor maillist - Tutor@pytho
<<>>
It's working fine now with the scoring, but now at the end of the program
for some reason I get this error message:
Traceback (most recent call last):
File
"/Users/vincentbalmori/Desktop/Python/py3e_source/chapter07/trivia_challenge2.py",
line 83, in
main()
File
"/Users/vincentbal