Re: Need help to write data onto an XML file after reading data from another xml file

2014-05-14 Thread Chris Angelico
On Wed, May 14, 2014 at 11:42 PM, wrote: > Since its my first time programming I am not aware of many conventions that > are being used to name classes. I tried to distinguish them by naming classes > in caps. The most commonly followed naming conventions in Python are those mandated for Pytho

Re: Need help to write data onto an XML file after reading data from another xml file

2014-05-14 Thread varun7rs
That is a very descriptive post. Since its my first time programming I am not aware of many conventions that are being used to name classes. I tried to distinguish them by naming classes in caps. I borrowed some ideas from here and there to come up with the Approach_Read.py file. What I intend t

Re: Need help to write data onto an XML file after reading data from another xml file

2014-05-14 Thread Dave Angel
On 05/14/2014 02:49 AM, varun...@gmail.com wrote: I try to add an edge with the source id and destination id over a loop but this is the error I am getting. And the range for the for addEdge is something I have no clue about. python export.py --output topology.xml --xml germany50.xml Traceback

Re: Need help to write data onto an XML file after reading data from another xml file

2014-05-13 Thread varun7rs
I try to add an edge with the source id and destination id over a loop but this is the error I am getting. And the range for the for addEdge is something I have no clue about. python export.py --output topology.xml --xml germany50.xml Traceback (most recent call last): File "export.py", line

Re: Need help to write data onto an XML file after reading data from another xml file

2014-05-13 Thread Dave Angel
On 05/13/2014 10:31 AM, varun...@gmail.com wrote: Hello Users, I am in dire need of your help. I have been working on this code for quite some time and it is making me restless. All I am trying to do is, 1. Read data from an xml file. Source: http://sndlib.zib.de/coredata.download.action?obje

Need help to write data onto an XML file after reading data from another xml file

2014-05-13 Thread varun7rs
Hello Users, I am in dire need of your help. I have been working on this code for quite some time and it is making me restless. All I am trying to do is, 1. Read data from an xml file. Source: http://sndlib.zib.de/coredata.download.action?objectName=germany50&format=xml&objectType=network 2. T