Re: [Tutor] Help needed

2014-04-26 Thread Suhana Vidyarthi
s >> like it should be a list. If you are concerned with the order of your >> output, dictionaries do not have a concept of order. >> >> >> On Sat, Apr 26, 2014 at 3:16 PM, Suhana Vidyarthi < >> suhanavidyar...@gmail.com> wrote: >> >>> Hi Dan

Re: [Tutor] Help needed

2014-04-26 Thread Suhana Vidyarthi
Hi Danny, Let me give you a high level brief of what I am doing: I am working on doing "disaster aware routing" considering the 24-node US network where I will be setting up connection between two any two nodes (I will select the source and destination nodes randomly). Also I have some links whose

Re: [Tutor] Help needed

2014-04-26 Thread Suhana Vidyarthi
Thanks for the response Alan. my clarifications are below: On Sat, Apr 26, 2014 at 1:41 AM, Alan Gauld wrote: > On 26/04/14 01:46, Suhana Vidyarthi wrote: > > I have this file: >> >> 1,3,5,0.03 >> >> 2,3,5,5,4,0.11 >> >> 3,3,5,5,4,5,8,0.04 &

Re: [Tutor] Help needed

2014-04-26 Thread Suhana Vidyarthi
Hi, The reason I opened a link is because there are changes in the code. Does it make sense? Else I can definitely go back to the thread. On Sat, Apr 26, 2014 at 9:05 AM, Danny Yoo wrote: > Hi Suhana, > > Also note that you asked this question just a few days ago. > > https://mail.pytho

[Tutor] Help needed

2014-04-25 Thread Suhana Vidyarthi
Hi, I need help with coding for the problem below. I am new in this area, so needed help. If anyone can help me program the below scenario, I will be thankful. I have this file: 1,3,5,0.03 2,3,5,5,4,0.11 3,3,5,5,4,5,8,0.04 2,5,8,7,8,0.04 3,14,10,14,13,17,13,0.04 1,14,18,0.06 4,10,13,

[Tutor] Help needed with Python programming

2014-04-22 Thread Suhana Vidyarthi
My knowledge of coding is fairly limited and I am having a hard time writing a Python code which might be pretty simple for you :-) Here is what I am doing and I need help with: I have a python code that shows a set of shortest paths between nodes A and B. Now I have to select the least risky pat