On Wed, May 18, 2011 at 2:30 AM, Michiel Overtoom <mot...@xs4all.nl> wrote: > On 2011-05-17 18:47, lina wrote: > >> A further question: I don't know how can I get the final output is >> unique? > > Unique in what way? You mean that in file1 (confout.pdb?) there could be > more values for the same key? or should duplicate lines in the output be > condensed to one line? Maybe if you were more descriptive with what your > goal and your source data is, your programming problem is easier to solve.
I tried using unique in command, for the final output it works. > > [It could be that you're not comfortable discussing this on a public mailing > list, but then, this is python-tutor. If you require hands-on help with > complex programming problems in your work field, or even just working Thank you very much for your offering. > solutions, it might be more advantageous to hire me as a remote consultant > (€120 per hour) which will enable you to offload difficult programming > problems on me, and if you want, I'll throw in some online Python lessons > via Skype in as well ;-) ] > > Greetings, > > > -- > "Good programming is not learned from generalities, but by seeing how > significant programs can be made clean, easy to read, easy to maintain > and modify, human-engineered, efficient, and reliable, by the application > of common sense and good programming practices. Careful study and > imitation of good programs leads to better writing." > - Kernighan and Plauger, motto of 'Software Tools' > > -- Best Regards, lina _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor