r i in xrange(k):
matrixmultiply(r, M)
print time.time()-t, 'sec'
print 'running %d iterations of matrix operation of column %d-vector' %
(k, n)
t = time.time()
for i in xrange(k):
matrixmultiply(M, c)
print time.time()-t, 'sec'
--code end--
Zhang Le
Hello,
Is there a quick way to replace the content of a single item in
tkinter's listbox? Currently my solution is to first delete the item,
then insert a new item at the same position. I think there may be
better way.
Zhang Le
--
http://mail.python.org/mailman/listinfo/python-list
Thanks for the hint. But I did not try such *advance* techniques so
far.
Both Delete-then-insert and Insert-then-delete work for me.
Interestingly, I found Delete-then-insert can cause some flicking when
replacing items near bottom, while Insert-then-delete always works
fine.
Zhang Le
--
http
m web site. Is anyone aware of general
techniques for extracting web news? Or can point me to some falimiar
projects.
I have seen some search engines doing this, for
example:http://news.ithaki.net/, but do not know the technique used.
Any tips?
Thanks in advance,
Zhang Le
--
http://mail.python.o
te to extract certain fields from a
web page. Unfortunately, it is not open source, so I can not look
inside the blackbox.:-(
Zhang Le
--
http://mail.python.org/mailman/listinfo/python-list