[Tutor] timeit: 10million x 1 Vs 1million x 10

2013-02-27 Thread DoanVietTrungAtGmail
Dear tutors My function below simply populates a large dict. When measured by timeit populating 10 million items once, versus populating 1 million items ten times, the times are noticeably different: --- import timeit N = 1000 # This constant's value is either 10 million or 1 million testDic

Re: [Tutor] There's a Programmer in Me

2013-02-27 Thread Khalid Al-Ghamdi
Thanks everyone. On Wednesday, February 27, 2013, Femi Banjo wrote: > coursera, udacity & edx all have decent Python courses for beginners and > very good support on forums etc and they're all free > > > Date: Wed, 27 Feb 2013 01:10:07 -0800 > > From: fo...@yahoo.com > > To: eryk...@gmail.com

Re: [Tutor] There's a Programmer in Me

2013-02-27 Thread Femi Banjo
coursera, udacity & edx all have decent Python courses for beginners and very good support on forums etc and they're all free > Date: Wed, 27 Feb 2013 01:10:07 -0800 > From: fo...@yahoo.com > To: eryk...@gmail.com > CC: tutor@python.org > Subject: Re: [Tutor] There's a Programmer in Me > > >

Re: [Tutor] There's a Programmer in Me

2013-02-27 Thread Albert-Jan Roskam
> On Tue, Feb 26, 2013 at 4:00 PM, Albert-Jan Roskam > wrote: >> >> What I like about R: if I do 'print(func)' (or fix(func)), it > prints the >> source code of the function. It would be cool if Python had something >> similar. Instead Python prints the not-so-informative >> > > You can use