G+_L I Posted May 9, 2014 Share Posted May 9, 2014 Code that reads in a text file of NFL Draft results, sorts, and writes out a new file. Uses the data file http://pastebin.com/47aemzaj which I'll try to update after each round. Does list of list sorting (explained in the comments) and reverse sorting. Any other suggestions? http://pastebin.com/Qxmu3mjY Link to comment Share on other sites More sharing options...
G+_Darryl Medley Posted May 10, 2014 Share Posted May 10, 2014 Very nice program. One little note. You can eliminate draftFileData and just say: draftRows = draftFile.read().splitlines() Link to comment Share on other sites More sharing options...
G+_L I Posted May 10, 2014 Author Share Posted May 10, 2014 Ahh cool. Thanks. I've made the change as well as updated the text file. Link to comment Share on other sites More sharing options...
Recommended Posts