Alan Gauld <[EMAIL PROTECTED]> wrote: "Sara Johnson" wrote
> this is sort of a script that was written and I'm making
> modifications to. Due to my serious lack of experience,
> I'm afraid to rewrite anything.
This is probably a long shot given the code you've posted so far,
but I don't suppose there are any design documents available?
Structure charets, class diagrams? Even plain text or pseudo
code?
Not sure I follow what you mean by those specific documents or diagrams, but
I do have the output and the sample code. Seems like it would be easy to just
enter it all in and get that output, except for the different files I've had to
include ("chmod" command on various scripts). Not sure if I've described that
correctly. Nonetheless, I've had to bundle this and pickle that and create 3
different files plus one script. Only close on one of those. If you are
talking about the output on this one step, I can put it into a text file and
attach it. Again my fear is that whatever I do to make that happen will
eventually lead to the other outputs as well.
In an ideal world it would be possible to find the faulty function
without having to read any code, but few projects are that well
documented. But then again few projects have nothing! If you
can find it it might tell you at a high level how the code hangs
together.
I'm not sure zip is the best tool for breaking lists apart,
but I'm no expert with it. But its easy to do with a simple
loop if you are dealing with a list of tuples:
list1 = []
list2 = []
for item in theList:
list1.append(item[0])
list2.append(item[1])
I will give this a try and some of the other suggestions I have received.
Thanks again!
---------------------------------
Choose the right car based on your needs. Check out Yahoo! Autos new Car
Finder tool.
_______________________________________________
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor