Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!us.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!newsfeed.straub-nv.de!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed1a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.037 X-Spam-Evidence: '*H*': 0.93; '*S*': 0.00; 'subject:Function': 0.07; 'throw': 0.09; 'python': 0.11; 'suggest': 0.15; 'explicitly': 0.15; 'did.': 0.16; 'from:addr:timgolden.me.uk': 0.16; 'from:name:tim golden': 0.16; 'message-id:@timgolden.me.uk': 0.16; 'received:74.55.86': 0.16; 'received:74.55.86.74': 0.16; 'received:smtp.webfaction.com': 0.16; 'received:webfaction.com': 0.16; 'sadly': 0.16; 'subject:show': 0.16; 'tjg': 0.16; 'wrote:': 0.16; 'meant': 0.22; 'lawrence': 0.22; 'header:In-Reply-To:1': 0.24; 'header:User-Agent:1': 0.26; 'question': 0.26; '(which': 0.29; 'certainly': 0.31; 'subject:time': 0.31; 'needed': 0.34; 'could': 0.35; 'to:addr:python-list': 0.35; 'really': 0.35; 'list': 0.35; 'asking': 0.35; 'but': 0.36; 'being': 0.36; 'too': 0.36; '(and': 0.36; 'subject:: ': 0.37; 'does': 0.39; 'to:addr:python.org': 0.39; 'received:192': 0.39; 'mark': 0.40; 'your': 0.60; 'even': 0.61; 'here.': 0.61; 'times': 0.61; 'show': 0.62; 'cheque': 0.63; 'here': 0.66; 'from:addr:mail': 0.70; 'quality': 0.72; 'cecil': 0.84; 'westerhof': 0.84; 'seriously,': 0.91; 'serious': 0.97 Date: Sun, 07 Jun 2015 12:05:06 +0100 From: Tim Golden User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: python-list@python.org Subject: Re: Function to show time to execute another function References: <87k2vgowco.fsf@Equus.decebal.nl> <87fv64orly.fsf@Equus.decebal.nl> In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 23 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1433675117 news.xs4all.nl 2897 [2001:888:2000:d::a6]:36358 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:92229 On 07/06/2015 11:16, Mark Lawrence wrote: > On 07/06/2015 09:22, Cecil Westerhof wrote: >> That only times the function. I explicitly mentioned I want both the >> needed time AND the output. >> >> Sadly the quality of the answers on this list is going down. Here I >> get an alternative that does only half what I want and when writing an >> alternative for ‘!find’ I am told I could use ‘!find’ (which only >> works in ipython, not python and which also not works with Windows). >> > > I suggest that you stop asking so many question here. Get your cheque > book and go for paid support. > Mark: that was too abrupt, even if the OP was being serious (and I suspect he may not have been, despite the absence of a smiley). Cecil: I don't know if you really meant that seriously, but it certainly comes across as ungracious if you did. If you meant it half-humorously, then you need to throw in a smiley or a wink to show that you were joking. TJG