On copying arrays

2008-03-23 Thread ernesto . adorio
Is there a conceptual difference between best =test[:] and best = [x for x in test] ? test is a list of real numbers. Had to use the second form to avoid a nasty bug in a program I am writing. I have to add too that I was using psyco in Python 2.5.1. Regards, Ernie. -- http://mail.python.o

Re: Pythondocs.info : collaborative Python documentation project

2006-09-17 Thread ernesto . adorio
Somehow all of the above discussions did not mention having examples or demos "built-in" for the language itself: majorfunction.example() demo("package") or package.demo() search engine in local html documentation apropos() The statistical software R is bettter in this respect

Re: Converting floating point to string in non-scientific format

2006-05-01 Thread ernesto . adorio
See also non-exponential floating point representation in http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/358361 by R. Hettinger. -- http://mail.python.org/mailman/listinfo/python-list