Re: Designing a network in Python

2014-05-02 Thread varun7rs
On Wednesday, 30 April 2014 20:38:07 UTC+2, Joseph L. Casale wrote: > > 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

RE: Designing a network in Python

2014-04-30 Thread Joseph L. Casale
> 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

Re: Designing a network in Python

2014-04-30 Thread Mark H Harris
On 4/30/14 9:57 AM, varun...@gmail.com wrote: I don't know how to do that stuff in python. Always a good time to learn. Let the database do the work for you; try not to re-invent the relational database wheel. Access the database via python-sql: https://pypi.python.org/pypi/python-sql

Re: Designing a network in Python

2014-04-30 Thread varun7rs
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,

RE: Designing a network in Python

2014-04-30 Thread Joseph L. Casale
> I have managed to read most of the important data in the xml onto lists. > Now, I have two lists, Source and Destination and I'd like to create > bi-directional > links between them. > And moreover, I'd like to assign some kind of a bandwidth capacity to the > links and > similarly, storage an