Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!weretis.net!feeder4.news.weretis.net!storethat.news.telefonica.de!telefonica.de!news.panservice.it!feed.xsnews.nl!border02.ams.xsnews.nl!feeder02.ams.xsnews.nl!abp002.ams.xsnews.nl!frontend-F10-06.ams.news.kpn.nl From: Cecil Westerhof Newsgroups: comp.lang.python Subject: Re: Function to show time to execute another function Organization: Decebal Computing References: <87k2vgowco.fsf@Equus.decebal.nl> <87fv64orly.fsf@Equus.decebal.nl> X-Face: "(y8cC@tg_12{">GF'UXTW]FHI2wMiZNrnf'1EFQ&O#$m:f#O7+7}kR,v+Pti8=Vi/Z"g^?b"E X-Homepage: http://www.decebal.nl/ Date: Sun, 07 Jun 2015 22:35:23 +0200 Message-ID: <878ubvnto4.fsf@Equus.decebal.nl> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:oTHQC4jBg9+Zm2EchHbfGSC+fpU= MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Lines: 43 NNTP-Posting-Host: 81.207.62.244 X-Trace: 1433709953 news.kpn.nl 21111 81.207.62.244@kpn/81.207.62.244:44151 Xref: csiph.com comp.lang.python:92304 On Sunday 7 Jun 2015 20:51 CEST, Johannes Bauer wrote: > On 07.06.2015 10:22, Cecil Westerhof wrote: > >> That only times the function. I explicitly mentioned I want both >> the needed time AND the output. > > And you also posted your solution. I fail to find any question in > your original posting at all. That is because there was no question: I just wanted to share something I thought that could be useful. If you would have taken the trouble to read a little, you would have known that. >> Sadly the quality of the answers on this list is going down. > > Maybe you should start asking questions that people are able to > comprehend so that you get an answer that you like. I do not want answer I like, but an answer that is useful. >> 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). > > Protip: Ditch the shitty attitude. I don't know if you're a jerk or > not but I know for sure that you sound like one. Makes it also much > less likely to get the answers you'd like. So if someone gives an answer that is completely useless it is a shitty attitude when I point this out? Very interesting indeed. I do not think I have to expect something useful from you, it looks like you prefer name calling. Luckily there are a lot of people that have a different attitude. -- Cecil Westerhof Senior Software Engineer LinkedIn: http://www.linkedin.com/in/cecilwesterhof