Re: [Tutor] Here is code, no link for my previous question

2013-01-07 Thread Alan Gauld
On 07/01/13 02:07, Jack Little wrote: Here is the code, my error is below the code in itallics That does not look like a normal Python error report. How are you running this? If you are using an IDE it may be giving non standard messages. It is usually better to run your code from a command l

Re: [Tutor] Decorators: Are they good for checking inputs and outputs?

2013-01-07 Thread Steven D'Aprano
On 06/01/13 23:30, DoanVietTrungAtGmail wrote: Dear tutors After much reading and head-scratching, I think the basic idea of decorators has now clicked for me. I am a beginner in programming and in Python, but I want to eventually develop a serious system. To spend most of my time on developing