Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #34303

Help "joining" two files delimited with pipe character ("|")

Path csiph.com!usenet.pasdenom.info!news.albasani.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <dd@topekacapitalmarkets.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.010
X-Spam-Evidence '*H*': 0.98; '*S*': 0.00; 'python.': 0.02; 'subject:two': 0.07; 'command.': 0.09; 'delimited': 0.09; 'subject:files': 0.09; 'subject:Help': 0.10; 'disclaimers': 0.16; 'received:169.254.2': 0.16; 'subject:joining': 0.16; 'appears': 0.18; 'to:name:python-list@python.org': 0.20; 'pipe': 0.22; 'received:169.254': 0.24; 'received:169': 0.29; 'implement': 0.32; 'skip:_ 30': 0.32; 'to:addr:python-list': 0.33; 'thanks': 0.34; 'similar': 0.35; 'something': 0.35; 'there': 0.35; 'url:org': 0.36; 'subject:" ': 0.36; 'method': 0.36; 'subject:with': 0.36; 'charset:us-ascii': 0.36; 'url:rec-html40': 0.37; 'two': 0.37; 'files': 0.38; 'to:addr:python.org': 0.39; 'url:schemas': 0.39; 'url:office': 0.39; 'hello,': 0.39; 'url:omml': 0.39; 'url:2004': 0.39; 'url:microsoft': 0.39; 'url:12': 0.40; 'your': 0.60; 'url:aspx': 0.60; 'capital': 0.68
X-Note-AR-ScanTimeLocal 12/5/2012 11:57:37 AM
X-Policy GLOBAL - topekacapitalmarkets.com
X-Primary dd@topekacapitalmarkets.com
X-Note This Email was scanned by AppRiver SecureTide
X-ALLOW @topekacapitalmarkets.com ALLOWED
X-Virus-Scan V-
X-Note Spam Tests Failed:
X-Country-Path UNKNOWN->UNITED STATES->UNITED STATES
X-Note-Sending-IP 98.129.35.1
X-Note-Reverse-DNS
X-Note-Return-Path dd@topekacapitalmarkets.com
X-Note User Rule Hits:
X-Note Global Rule Hits: G328 G329 G330 G331 G335 G336 G347 G443
X-Note Encrypt Rule Hits:
X-Note Mail Class: ALLOWEDSENDER
X-Note Headers Injected
From Daniel Doo <dd@topekacapitalmarkets.com>
To "python-list@python.org" <python-list@python.org>
Date Wed, 5 Dec 2012 11:57:31 -0600
Subject Help "joining" two files delimited with pipe character ("|")
Thread-Topic Help "joining" two files delimited with pipe character ("|")
Thread-Index Ac3TEZ3DvqvIo9uYTTykZlZLBcmbrQ==
Accept-Language en-US
Content-Language en-US
X-MS-Has-Attach
X-MS-TNEF-Correlator
acceptlanguage en-US
Content-Type multipart/alternative; boundary="_000_08080305078A3F47B751F7412214A051011B096BF3MBX22exg5exgh_"
MIME-Version 1.0
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.512.1354730874.29569.python-list@python.org> (permalink)
Lines 101
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1354730874 news.xs4all.nl 6931 [2001:888:2000:d::a6]:53440
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:34303

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

Hello,

I am new to Python.  Is there a method to "join" two pipe delimited files using a unique key that appears in both files?  I would like to implement something similar to the Unix join command.

Thanks for your help!

________________________________
Topeka Capital Markets Disclaimers - http://topekacapitalmarkets.com/Disclaimers.aspx

Back to comp.lang.python | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Help "joining" two files delimited with pipe character ("|") Daniel Doo <dd@topekacapitalmarkets.com> - 2012-12-05 11:57 -0600
  Re: Help "joining" two files delimited with pipe character ("|") Miki Tebeka <miki.tebeka@gmail.com> - 2012-12-05 10:17 -0800
  Re: Help "joining" two files delimited with pipe character ("|") Miki Tebeka <miki.tebeka@gmail.com> - 2012-12-05 10:17 -0800

csiph-web