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


Groups > comp.lang.python > #70788

RE: Designing a network in Python

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 <jcasale@activenetwerx.com>
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" <jcasale@activenetwerx.com>
To "python-list@python.org" <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 <python-list.python.org>
List-Unsubscribe <https://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 <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.9613.1398883102.18130.python-list@python.org> (permalink)
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

Show key headers only | View raw


> I don't know how to do that stuff in python. Basically, I'm trying to pull certain data from the
> xml file like the node-name, source, destination and the capacity. Since, I am done with that
> part, I now want to have a link between source and destination and assign capacity to it.

I dont mind writing you an SQLite schema and accessor class, can you define your data in a tabular
format and mail it to me offline, we add relationships etc as we go.

Hopefully it inspires you to adopt this approach in the future as it often proves powerful.

jlc

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


Thread

Designing a network in Python varun7rs@gmail.com - 2014-04-30 02:30 -0700
  RE: Designing a network in Python "Joseph L. Casale" <jcasale@activenetwerx.com> - 2014-04-30 12:28 +0000
    Re: Designing a network in Python varun7rs@gmail.com - 2014-04-30 07:57 -0700
      Re: Designing a network in Python Mark H Harris <harrismh777@gmail.com> - 2014-04-30 10:03 -0500
      RE: Designing a network in Python "Joseph L. Casale" <jcasale@activenetwerx.com> - 2014-04-30 18:38 +0000
        Re: Designing a network in Python varun7rs@gmail.com - 2014-05-02 02:33 -0700

csiph-web