> Well, using python documentation, I did this..
>
> (calculating execution time).
>
> def main():
> ## This is my whole puzzle code...
>
>
> fobj_ip = open('D:/code/py/input.txt', 'r')
> fobj_op = open('D:/code/py/output.txt','w')
>
> line=1
> for eachLine in fobj_ip:
>
Date: Fri, 27 Jan 2012 17:35:39 -0800
Subject: Re: [Tutor] compile time calculator
From: marc.tompk...@gmail.com
To: sur...@live.com
CC: tutor@python.org
On Fri, Jan 27, 2012 at 7:46 AM, Surya K wrote:
Hi,
I want to calculate compile time for my puzzles.
Since nobody else has mentioned
On Fri, Jan 27, 2012 at 7:46 AM, Surya K wrote:
> Hi,
>
> I want to calculate compile time for my puzzles.
>
Since nobody else has mentioned it yet...
http://xkcd.com/303/
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription o
Surya K wrote:
can anyone write a program for me? please...
Certainly. My rate is AUD$80 per hour. Please write to me privately to discuss
financial arrangements.
--
Steven
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscr
On 27/01/12 15:46, Surya K wrote:
I want to calculate compile time for my puzzles.
I'm pretty sure from what follows you don't!
But just to be clear, compile time is the time Python spends converting
your modules into .pyc files the first time they are imported after a
change. Why you would
On 27/01/2012 15:46, Surya K wrote:
Hi,
I want to calculate compile time for my puzzles. Although I read about
timeit(), I didn't really understand how it should be applied it.
So, can anyone write a function for me please!!
I am looking for a function which should solve my puzzle and also show
Hi,
I want to calculate compile time for my puzzles. Although I read about
timeit(), I didn't really understand how it should be applied it.So, can anyone
write a function for me please!!
I am looking for a function which should solve my puzzle and also show compile
time. (Later, I should be ab