Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.mixmin.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed2a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.005 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'python.': 0.02; 'source,': 0.04; 'schema': 0.05; 'subject:Python': 0.06; 'assign': 0.07; 'class,': 0.07; 'part,': 0.09; 'inspires': 0.16; 'received:172.18.0': 0.16; 'sqlite': 0.16; 'trying': 0.19; 'to:name:python-list@python.org': 0.22; 'header:Received:8': 0.24; 'source': 0.25; 'define': 0.26; 'certain': 0.27; 'header:In-Reply- To:1': 0.27; 'xml': 0.29; "i'm": 0.30; 'go.': 0.31; 'file': 0.32; 'stuff': 0.32; 'etc': 0.35; 'add': 0.35; 'done': 0.36; 'charset :us-ascii': 0.36; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'how': 0.40; 'future': 0.60; 'received:unknown': 0.61; 'between': 0.67; 'dont': 0.67; 'proves': 0.84; 'adopt': 0.91; 'destination': 0.91 X-Cloudmark-SP-Filtered: true X-Cloudmark-SP-Result: v=1.1 cv=jhVCqOCcONDhIh1w2GEjcBn40ITekX4NlKMVE0oiDkw= c=1 sm=1 a=0SdSWYkgFHUA:10 a=7PYXob_7ZXMA:10 a=P90J6pEA2ccA:10 a=BLceEmwcHowA:10 a=kj9zAlcOel0A:10 a=xqWC_Br6kY4A:10 a=oNw28mxuUhXRB3mVwYQ4Ag==:17 a=nVX93PKhdvjhWh_XO5gA:9 a=CjuIK1q_8ugA:10 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=activenetwerx.com; s=default; t=1398883100; bh=mPx/eTee4gIj7/lptT8NexrbFkTYWj8b6LDW+0qpdOs=; h=From:To:Subject:Date:References:In-Reply-To; b=CsZ6X6ffw3Ku7stdCN7A5GuCplrqgGUPpd2+DP9PDIYl3hhk57XHiINxA2ieiUFh+ RQdI/o4HszXSmh3ZWd8NCn9+8eT/QkPE1L6mCT8irB9Fcscr3QRsA2o7J4xxTe00GA /OM1sIUjeJJnhGr7+4Wwg0hwAEekjnJxpmXj1wGU= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=activenetwerx.com; s=default; t=1398883100; bh=mPx/eTee4gIj7/lptT8NexrbFkTYWj8b6LDW+0qpdOs=; h=From:To:Subject:Date:References:In-Reply-To; b=CsZ6X6ffw3Ku7stdCN7A5GuCplrqgGUPpd2+DP9PDIYl3hhk57XHiINxA2ieiUFh+ RQdI/o4HszXSmh3ZWd8NCn9+8eT/QkPE1L6mCT8irB9Fcscr3QRsA2o7J4xxTe00GA /OM1sIUjeJJnhGr7+4Wwg0hwAEekjnJxpmXj1wGU= X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.activenetwerx.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=ham version=3.3.1 From: "Joseph L. Casale" To: "python-list@python.org" Subject: RE: Designing a network in Python Thread-Topic: Designing a network in Python Thread-Index: AQHPZFe8mAGKKYORLUig6HCBX7x/rZsqQYOLgAA7Xnc= Date: Wed, 30 Apr 2014 18:38:07 +0000 References: <8ab783e8-a36e-49e5-a329-2c4d98df8537@googlegroups.com> , <6b386a23-ee11-46df-ade7-6cb235df4a18@googlegroups.com> In-Reply-To: <6b386a23-ee11-46df-ade7-6cb235df4a18@googlegroups.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.18.0.4] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Scanned: ClamAV using ClamSMTP X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 15 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1398883102 news.xs4all.nl 2836 [2001:888:2000:d::a6]:58275 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:70788 > I don't know how to do that stuff in python. Basically, I'm trying to pul= l certain data from the=0A= > xml file like the node-name, source, destination and the capacity. Since,= I am done with that=0A= > part, I now want to have a link between source and destination and assign= capacity to it.=0A= =0A= I dont mind writing you an SQLite schema and accessor class, can you define= your data in a tabular=0A= format and mail it to me offline, we add relationships etc as we go.=0A= =0A= Hopefully it inspires you to adopt this approach in the future as it often = proves powerful.=0A= =0A= jlc=