Sorry the iPhone email client is terrible. It sent the previous email before I was done writing it. Anyway, the timeit module is available whenever you want to profile something and determine how long it takes to run.
Sent from my iPhone On Jul 17, 2010, at 1:32 AM, "Richard D. Moores" <rdmoo...@gmail.com> wrote: > Please see <http://tutoree7.pastebin.com/azLrNL0n> > > Foolishly, without thinking it through, I expected the 2 prints to > show different times. I understood right away why they were identical, > but then I began to wonder how to create an "alias" for > "ctime()[11:20]" so I wouldn't have to keep typing or pasting it. > "now" would be fine. But how to get it to execute ctime()? > > Thanks, > > Dick Moores > _______________________________________________ > Tutor maillist - Tutor@python.org > To unsubscribe or change subscription options: > http://mail.python.org/mailman/listinfo/tutor _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor