Sorry for top posting, but yes excepting you don't need the parens after
log in the @log line.
Sent from my Fonepad
Alex Hall wrote:
Okay, I think I follow. So a decorator to log that a function ran might
be:
import utils
@log()
def run():
** #do things
#util
Please always use reply all, or reply list when responding to list
messages. I think eryksun may have already answered your question, if not
give more info about how you run your code.
Original Message
Subject: Re: [Tutor] How do I display a picture?
From: Micha