Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #57015
| Subject | finding data from two different files. |
|---|---|
| From | "torque.india@gmail.com" <torque.india@gmail.com> |
| Date | 2013-10-18 07:18 +0530 |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.1193.1382062311.18130.python-list@python.org> (permalink) |
Hi all, I am new to python, just was looking for logic to understand to write code in the below scenario. I am having a file (filea) with multiple columns, and another file(fileb) with again multiple columns, but say i want to use column2 of fileb as a search expression to search for similar value in column3 of filea. and print it with value of rows of filea. filea: a 1 ab b 2 bc d 3 de e 4 ef . . . fileb z ab 24 y bc 85 x ef 123 w de 33 Regards../ omps
Back to comp.lang.python | Previous | Next — Next in thread | Find similar | Unroll thread
finding data from two different files. "torque.india@gmail.com" <torque.india@gmail.com> - 2013-10-18 07:18 +0530 Re: finding data from two different files. Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-10-18 02:24 +0000 Re: finding data from two different files. Roy Smith <roy@panix.com> - 2013-10-18 08:31 -0400 Re: finding data from two different files. Jim Gibson <jimsgibson@gmail.com> - 2013-10-18 15:54 -0700
csiph-web