g wait for each process to finish
for p in jobs:
p.join()
elapsed_time = time.time() - start_time
print 'Iteration: ', itr, '\tElapsed time: ', elapsed_time
As you recommended, I'll use the profiler to see which part of the code
is slow.
T
overhead for each data point?
Please keep my email in the replies as I am not a member of this mailing
list.
Thanks,
Abhinav
--
http://mail.python.org/mailman/listinfo/python-list
We have built Radbox.me on web2py and it's amazing..
> On Saturday, December 19, 2009 1:42 AM AppRe Godeck wrote:
> Just curious if anybody prefers web2py over django, and visa versa. I
> know it is been discussed on a flame war level a lot. I am looking for a
> more intellectual reasoning behind
thanks guys.I solved the problem by moving self.stdmutex.acquire()
before if c<5:
--
http://mail.python.org/mailman/listinfo/python-list
//A CRAWLER IMPLEMENTATION
please run this prog. on the shell and under the control of debugger
when this prog. is run normally the prog. does not terminate .It
doesn't come out of the cond. if c<5: so this prog. continues
infinitely
but if this prog is run under the control of debugger the prog
te
Hi guys.I have read that one cannot perform true multithreading in
python due to global interpreter lock mechanism.Suppose i have to
implement a crawler on a say cluster system like clusterknoppix so that
i can use parallel virtual machine (PVM)for programming in
multiprocessor environment or say o
It is DSL broadband 128kbps.But thats not the point.What i am saying is
that would python be fine for implementing fast crawler algorithms or
should i use C.Handling huge data,multithreading,file
handling,heuristics for ranking,and maintaining huge data
structures.What should be the language so as
Hi guys.I have to implement a topical crawler as a part of my
project.What language should i implement
C or Python?Python though has fast development cycle but my concern is
speed also.I want to strke a balance between development speed and
crawler speed.Since Python is an interpreted language it i
ya its supposed to be some stupid 6 month project which my friend has
to do.I am just helping him out.he may not be implementing a full
fledged rfc compliance mail server but may support some of the major
functionalities.so basically its an extra ordinary need.I just wanted
to know which language w
Hello guys,
I am a novice in python.I have to implement a full fledged mail server
.But i am not able to choose the language.Should i go for C(socket API)
or python for this project? What are the advantages of one over the
other in implementing this server.which language will be easier? What
are th
10 matches
Mail list logo