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


Groups > comp.lang.python > #70780

Re: Designing a network in Python

Newsgroups comp.lang.python
Date 2014-04-30 07:57 -0700
References <8ab783e8-a36e-49e5-a329-2c4d98df8537@googlegroups.com> <mailman.9607.1398860993.18130.python-list@python.org>
Message-ID <6b386a23-ee11-46df-ade7-6cb235df4a18@googlegroups.com> (permalink)
Subject Re: Designing a network in Python
From varun7rs@gmail.com

Show all headers | 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.

eg., [a,b,c,d,e] [l,m,n,o,p] [5,2,3,4,5]

I need something like a - l: 5, b - m: 2,....I don't know how to describe this exactly but I hope this would give you a rough idea. After this, I put the stuff back into an xml but this time only there are more parameters and looks more detailed....

Like nodeID = Aachen...stor_capacity = 100, proc_capacity = 200, switch_capacity = 190...etc 

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