Re: Python time measure question (timeit)

2009-02-01 Thread Steve Holden
vedrandeko...@yahoo.com wrote: > On 1 velj, 17:42, Steve Holden wrote: >> vedrandeko...@yahoo.com wrote: >>> Hello, >>> When I run following code with os.popen (for this time measure I'm >>> using python module timeit): >>> for i in range(50): >>> print i >>> I get this result: 0.00246958761

Re: Python time measure question (timeit)

2009-02-01 Thread vedrandekovic
On 1 velj, 17:42, Steve Holden wrote: > vedrandeko...@yahoo.com wrote: > > Hello, > > > When I run following code with os.popen  (for this time measure I'm > > using python module timeit): > > > for i in range(50): > >     print i > > > I get this result:  0.00246958761519 > > > But when I run sam

Re: Python time measure question (timeit)

2009-02-01 Thread Steve Holden
vedrandeko...@yahoo.com wrote: > Hello, > > When I run following code with os.popen (for this time measure I'm > using python module timeit): > > > for i in range(50): > print i > > > I get this result: 0.00246958761519 > > > But when I run same code from IDLE i get this result: > 6.45

Python time measure question (timeit)

2009-02-01 Thread vedrandekovic
Hello, When I run following code with os.popen (for this time measure I'm using python module timeit): for i in range(50): print i I get this result: 0.00246958761519 But when I run same code from IDLE i get this result: 6.4533341528e-005 now, I have two questions: 1) W