hey guys, this is not really a Python question. When ever im doing a
tutorial, it could be pygame or some gui application, i usually find
everything straight forward until the demonstration involves drawing.
Then maths is applied and i can't follow along as easily. In the end
by commenting out cert
Matthew Ngaha wrote:
> hey guys, this is not really a Python question. When ever im doing a
> tutorial, it could be pygame or some gui application, i usually find
> everything straight forward until the demonstration involves drawing.
> Then maths is applied and i can't follow along as easily. In t
On 15 January 2013 05:19, Prasad, Ramit wrote:
>
> Matthew Ngaha wrote:
> > hey guys, this is not really a Python question. When ever im doing a
> > tutorial, it could be pygame or some gui application, i usually find
> > everything straight forward until the demonstration involves drawing.
> > Th
Dear tutors
In learning about the __call__ magic method, in the code below I
deliberately omitted __call__ and, as expected, I got the error message
"TypeError: 'Test' object is not callable". But I am surprised that the
print statement was not executed, even though the interpreter sees it
first.
On Mon 14 Jan 2013 10:14:24 PM EST, DoanVietTrungAtGmail wrote:
Dear tutors
In learning about the __call__ magic method, in the code below I
deliberately omitted __call__ and, as expected, I got the error
message "TypeError: 'Test' object is not callable". But I am surprised
that the print state
Yes you are right, it was printed. I think my eyes are tired. I left the
PC, came back, and saw your reply plus the printed line. Thanks Mitya, and
I apologise to everyone about false alarm! The answer of 42 was staring at
me and I didn't see it.
Trung
On Tue, Jan 15, 2013 at 2:33 PM, Mitya Siren