I have written a program that reads data and updates the records
for some people. They are represented by objects, and I need to
read the data from a file, look the person up and then update
his record.
I have implemented this by creating a list with all the people's
names and another list
bearophileh...@lycos.com wrote in
news:37632421-5475-4859-be83-07ae2eca1...@r4g2000yqa.googlegro
ups.com:
Try using a dict instead, where keys are the names and
objects the values (it turns a linear search in a quick
hash look up). . Then tell us the performance changes.
It halved the
I used the windows installer for the latest version of psyco,
which is labeled as compatible with 2.5, but it gives the
following error:
ImportError: DLL load failed: The specified module could not be
found. (check that the compiled extension 'C:\Python26\lib\site-
packages\psyco\_psyco.pyd'
I'm developing a circuit simulation application and will need to
plot the output of my program. The output will not be functions,
just a collection of numerical values of the dependent and
independent variables.
--
http://mail.python.org/mailman/listinfo/python-list
I just got an exception and the traceback wouldn't go all the
way to the statement that threw the exception. I found that out
by using the debugger.
Contrast the traceback:
http://tinyurl.com/5xglde
with the debugger output (notice the arrow pointing to the last
statement the traceback
Terry Reedy [EMAIL PROTECTED] wrote in
news:[EMAIL PROTECTED]:
You forgot to specify which version of Python on which
computer system.
It's on Python 2.6.
--
http://mail.python.org/mailman/listinfo/python-list
sert [EMAIL PROTECTED] wrote in
news:[EMAIL PROTECTED]:
It's on Python 2.6.
On Windows.
--
http://mail.python.org/mailman/listinfo/python-list