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
> 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
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
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,
> 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