PDA

View Full Version : Help with python


clean2g
04-09-2008, 11:02 PM
Was wondering if anyone on the board is good at writing python code? I need some help asap, specifically with implementing Dijkstra's Algorithm in python. Anyone?

User Name
04-10-2008, 07:11 AM
You did what with who?

gofastman
04-10-2008, 08:25 PM
You did what with who?
For how many M&M's?

clean2g
04-11-2008, 12:22 AM
right, I'm trying to ask a serious question, please only respond if you can be of some assistance. Thanks.

Shane@DBPerformance
04-11-2008, 12:46 AM
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/119466

clean2g
04-12-2008, 01:19 AM
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/119466

That's actually one of the examples I was working off of; I figured out what I was doing wrong though. According to the assignment instructions which I mis-read, I was supposed to create a N x N matrix of values and pass it into that code, but I was only passing a 1 dimensional array. Thanks though Shane.