Back in 1999, I asked "where is quote?". I was looking for a way to quote a function (delay evaluation). I wonder if there is anything new. It looks to me that the best answer is to use lambda. example: def f(): return lambda: os.chmod(""/root/.rhosts", 0644) def g(): f()